Add widget in catalog form (add another role) button - Tokyo version

saran raj
Tera Contributor

Hi all,

I have a requirement to add a button (add another role) to two variables of select box. When add another role is clicked in the form, an extra row should be populated in the form. Could someone please help me out with this requirement?

 

Here is the screenshot of the requirement.

saranraj_0-1693835379985.png

When 'Add another role' is clicked in the form an additional row should populate with delete button in the form like in the below screenshot.

Note: "Associate Persona" and "Role Access Level" are select box type variable.

saranraj_1-1693835566271.png

Any help would be greatly appreciated.

Thanks!

 

1 ACCEPTED SOLUTION
1 REPLY 1