Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Level 2
Level 2


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.


0 Replies