formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Appending/Adding new Formio Templates on button click

Open chdonncha opened this issue 1 year ago • 1 comments

I've a problem in my current set up.

I'm using a formio JSON template for the FE and grabbing the form data via the JS.

Now what I want to do is to be able to dynamically append or add more Templates onto a existing one at the Click of the button.

I've an example below I'd need to be able to add a new "Entity" template on clicking a button beside the radio buttons in arounds that (design not final). Then for each input name of the Entity I want the Tab name to be updated.

image

Is this feasible in formio?

chdonncha avatar Jul 24 '24 15:07 chdonncha

Not really clear here, you just want to display n number of text fields when you click on the radio button labeled with n?

brendanbond avatar Oct 18 '24 14:10 brendanbond