a new function has been released in UiPath Apps.
But I do not understand how to use it. I set the validation required to true but I am still able to start a process without getting a sign that I didn’t fill out the mandatory field.
Could anybody please explain to me how to use this function? Thank you!
May 2022 (uipath.com)
to do validation please follow below approach.
- Set Required = True on control
- Set message to display when your interact with control
Now there is two way you can achieve this functionality.
- Add button
- Each control has new field “Is Valid”
- Use this field to validate required field
- Set expression on button Disabled as below
If Rule condition
- Add button
- Add If else condition to validate as below
Result on user interaction with control
Hope this will help you . Please let me know if you are still unable to do.
@Arvind_Kumar1 Thank you. That is already working well.
But I have one question regarding the text “Required Error Message”.
When empty it doesn’t display me the error message:
Now I enter a number:
And if I delete the number it shows me the error message:
In this case, the error message is not helpful. Because if the user doesn’t enter anything it is nowhere mentioned which the required fields are.
Disabling the button is a really good thing! I like it. But now the user should also be guided to which fields are required. Any idea? What am I missing?
Yes as per current design this error message display only if user interact with control. I mean if user enter any value and remove it then this error will get displayed.
To make it more user friendly you can enable label as below. Label will show Red asterisk for required field.
Go to control
Enter Label Name in General section
Go to style section and change as you wish to display label
Once you do this user can easily identify required fields.
@Arvind_Kumar1 Many thanks. Didn’t know this function.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.