Expand my Community achievements bar.

Add a page with the click of a button

Avatar

Former Community Member
I have a one page form that I would like to keep the same layout but occasionally add an additional (addendum) page to the end of it when the user clicks a button. I realize that this isn't the best way to approach this but unfortunately our users don't like drastic changes. Right now both pages show when you open the form. Any suggestions on how I can do this?
2 Replies

Avatar

Former Community Member
Hello Clay,<br /><br />I think you need to create a dynamic form. Save your form as dynamic, check the checkbox 'Repeat Subform for each data item' in the Object tab, Binding tab of your additional page, uncheck the 'Min Count' (the same as setting it to '0'), and add in the click event of your button '_<page_name>.addInstance();'. (Don't forget the underscore before the page name)<br />Described in detail in the Designer help under 'dynamic forms'.<br /><br />Let me know if it helped or if you need additional information.<br /><br />Regards, Karin

Avatar

Former Community Member
Thank you very much Karin! It works great and it's so simple. Thanks again.