so I need one of the input field as mandatory but incase the user doesnt have that info he can choose to fill another field or if he chooses he can fill both of them,but one of them must be filled.i need condition for that.
As it was working the same like your requirement even I had taken integer data type for card number. Now in below oml I have taken text data type for the card number and its working fine.
Demo link:
PassDatatDetail (personal-xyog61l7.outsystemscloud.com)
You can ask if you need any help.
Thanks.
You can add the custom validations for that as shown below:
If Id number is blank, then it will check for passport number. If the passport number is also blank, then it will make input fields invalid. If either of the input has value, it will make it valid.
Hi,
Please find the attached oml for your reference.
https://personal-xyog61l7.outsystemscloud.com/Passport/PassDatatDetail?PassDatatId=0
Thanks,
Ajit Kurane.
Hello Rituparna ,
Shubham´s answer will work for you, but if you want to learn more about form validation you can take a look at this documentation :
Validate the fields of a form
Hope it helps!
Paulo Rosário
Hi
shubham and Ajit
Thank you so much for your help, I was able to do it.
Regards
Ritu