how to make search drop down as mandatory field while adding new data and also while updating,
for me the the error message is showing only for newly added record but i want is if anyone try to update already saved data and if they delete the data in the search drop down field and try to save it, then i need this error message below the search dropdown
Hello Shalini,
Please refer to the below OML. I have added the logic.
Thanks,
Neha
Hi Shalini,
Please check below oml and demo for your reference.
You just need to validate it while create and update.
Demo link: DropdownTest
Hope it helps you.
Ajit Kurane.
Adding things on the above discussion, you need to add this validation on the start of the logic then only it will work otherwise in some condition it might fail.
Hope this helps
Thanks
Yes it worked for me now, Thank you for the help.
hi,
try set its mandatory property to true:
There is no mandatory option for search dropdown.
So, u can check in the logic, if it is blank.
regards
Answer by Anna Wojdyla in this post will help you.
Ramesh
Hello everyone, for this case, other solution for this is to use a logic component action.
For example:
For the use of component Search Dropdown, valid the mandatory field with the action "Dropdown not valid" calling a validation action within the save action..