Skip to main content
saifalik8679
Known Participant
August 30, 2022
Question

Two collapsible section layouts colliding on two submit button clicks

  • August 30, 2022
  • 4 replies
  • 0 views

Hi Pals, 
Have a look at this interface

I want the user to click on submit button and then, it should take care of its own input fields inspite of marking it required and empty for the above iterface or vice versa
So, let me know how can we do the same

Right now, The two section layouts are having the code directly in this interface and they are not external to the main interface.
Any insights on this?

4 replies

csteward
August 30, 2022

You will need to use Validation Groups on the buttons so your form knows which fields to require, depending on which button is used.

saifalik8679
Known Participant
August 30, 2022

Thanks for the direction

August 30, 2022

You can give validation group name on each field and use that name under validationgroup configuration of the buttonwidget. In this way, on click of button, it will validate only those fields in which the validation group name is same which you provided in the button widget.

saifalik8679
Known Participant
August 30, 2022

Thanks for the direction