Expand my Community achievements bar.

how to validte form depending on user action name (the button name user clicked when submit)?

Avatar

Former Community Member

Hello,

I am new to the es2 form design. The requirement is to validate a field when user submit a form, but depends on which button user clicks.

If user click approve button, then the field can be empty, if user clicked reject button, then this field cannot be empty.

Thank  you for your help.

Laura

0 Replies