How to use the conditional mandatory option on a field in Timetonic?
What if you could make a field mandatory only when your process really demands it, without disturbing the user?
Let's together find out how this feature can make your forms smarter.
In this example, we are using an application submission form.
The applicant has the option to go back to his form before being able to submit it to make changes.
Let's practically implement this setup.
You are inside the form view with its restrictions.
We will add a button which will be the trigger button the conditional mandatory option will be based on.
Following the creation of the trigger button, each field will be set on the conditional mandatory from this button.
If this button is validated, you apply this conditional mandatory option on each of the fields in the form. We can see that when the "Conditional Mandatory" option is configured on the field, an icon is displayed next to the title on the column.
In order to guide the user to save the form well after choosing to want to submit it, we will put a message in conditional visibility which will be on the trigger button of the submission.
We choose a Smartext column.
I now have my trigger button and the message to alert the applicant.
I will apply the conditional visibility option on the message, linked to the validation of the click on the submission.
I go to the default settings of the view to insert the message to transmit.
I save the default value. I go to the view mode options, I go to the form option, I transform my table view into form view, the settings of my previously configured form apply, I go into the configuration mode of the editor, I will go to the final step of the form, In the editor, I go to the field option.
I will search for my fields.
I insert them in the form step.
I perform the layout of the form.
I will insert a space to separate this step.
I now have in the final step of the form the submission button and the presence of the message to transmit.
I save my form and let's see practically how it presents itself.
Here is the candidate's form.
He will be able to freely fill in the fields of the steps by going to the end.
If he has not finished filling it in, he can simply save it before submitting it and come back to make modifications.
I will save.
the link of the modification form and wish and will be able to come back to the form as many times as he wishes to insert, complete this form before deciding to submit it.
Once the candidate wishes to submit his application since it will be fully completed, he will click on the button to submit it, will see a message informing him to save the form well to validate it, The click on the submission button will apply the conditional mandatory option on all fields of the form.
If a field is not filled in in the condition, it will not be able to save his form.
Using the conditional mandatory option on all fields of the form allows the candidate to take the time to fill out this form, to possibly come back to it as many times as he wishes, This guarantees the completeness of the information only at the time of the final submission.
all mandatory fields are filled in, the submission is checked, the message informs well to save, the user saves, the form is forwarded and the submission status is validated.
You will have understood, in Time Tonic, the "conditional mandatory" option is a major lever to design smart forms.
which can adapt to real user usage, regardless of the job.
If you haven't already, all you have left to do is try it.