Add additional form by clicking a button
Posted: Thu Aug 29, 2024 8:19 am
Hi everyone
Please could someone guide me. This is my scenario:
I have a site created for people to submit various kinds of reports under different categories (by completing forms).
Is it possible and how do I create a button that displays a specific form when clicked. I know that you can't have multiple forms on one page so basically, it would be sections.
So, let's say for example, the user needs to submit two safety incident forms, what I need is the user to click a button which will display the first form. If they click on add new, it will display another form (basically a copy of the first form) on the same page. If they click delete, it deletes that one form (or section), leaving only the first one, if that makes sense.
I have found a way to do it via events on the button and showing and hiding layout grids but it seems very labour intensive. Is there an easier way?
Please could someone guide me. This is my scenario:
I have a site created for people to submit various kinds of reports under different categories (by completing forms).
Is it possible and how do I create a button that displays a specific form when clicked. I know that you can't have multiple forms on one page so basically, it would be sections.
So, let's say for example, the user needs to submit two safety incident forms, what I need is the user to click a button which will display the first form. If they click on add new, it will display another form (basically a copy of the first form) on the same page. If they click delete, it deletes that one form (or section), leaving only the first one, if that makes sense.
I have found a way to do it via events on the button and showing and hiding layout grids but it seems very labour intensive. Is there an easier way?