How to enable save button only after multiple mandatory fields have been filled?

0
in a form i have 4 mandatory fields, i want to show save button as disabled until all these fields have been filled. in dynamic class for the button i am only able to add this condition for a single fields using " if ($currentObject/Name)  != empty then 'enabled' else 'disabled' ". How can i make it so it follows this condition for all mandatory fields?
asked
1 answers
0

Hi Pranav,

you can use multiple condition like below, if those values are in 1-1 association and accessible

otherwise put a data view just above button and set datasource as microflow and in microflow check all condition and return main object if it passes validation otherwise return empty and in dynamic class set condition $currentobject!=empty

 

image.png

answered