We are using O365 SharePoint and have some custom list. I modified the new item form in PowerApps. I would like to do some validation on a field of type "decimal". The validation needs to have a dependancy by the selected value of a field of type "choice".
For example:
If the choice field value is "Artsbezoek", the number field value needs to be below number 2. If the value is not valid, I would like to show some validation message.
Hi @khalidinio,
Please first take a look at the following blog for some best practices:
A Few Best Practices in Data Validation
For your Scenario, here are my own thoughts:
1. If the Error messages is based on Dropdown selection, then there should be a table holding the Error messages and the Selected value,which is used for the Error Box to lookup with,
2. If all the fields needed error validation, then error table should be defined for each fields,
3. Take use of Lookup () function under the Text property of the Error Box, to find the error through the Error table,
4. In case of wrong data submitted, you could configure the Disable property of the submit button with Variables,
Regards,
Michael
User | Count |
---|---|
140 | |
133 | |
80 | |
75 | |
74 |
User | Count |
---|---|
210 | |
199 | |
71 | |
66 | |
55 |