Dynamically Add/Remove Fields

Hello,

Is there a way to dynamically add/remove fields with javascript?

Thanks,
Mike M.

Hello @mmendes,

You can create new inputs dynamically, but the issue is updating the form schema and saving information.

Are you talking about SharePoint forms or public web forms? What exactly do you want to design?

I want to create a public web form that creates new fields based on the value of a multiple checkbox field. If specific options are selected, additional fields will be created for more information that is required.

Specifically, I am creating a medical test order form. For some tests that can be ordered, additional information is required. We only want a user to have to fill out those fields if those specific tests are selected. Some tests require no additional information.