Skip to main content
Known Participant
July 20, 2022
Question

Trying to create a template to make an add a blank page button but option is greyed out

  • July 20, 2022
  • 2 replies
  • 1131 views

Can anybody help? Having enough trouble with the various button scripts, but I have not created a template that is apparently necessary. Trying to create a template to make an add a blank page button but option is greyed out in organize pages.

1st, how do I create the template? How do I get the option available to begin with?

2nd could someone clarify the proper simple code to add to the button to make this work? I do not foresee the user needing to add more than one extra blank form page.

 

Thanks. This is indeed frustrating.

This topic has been closed for replies.

2 replies

Bernd Alheit
Community Expert
Community Expert
July 20, 2022

Want you create a template page?

Nesa Nurani
Community Expert
Community Expert
July 20, 2022

1. Select 'Organize Pages' tool.

2. On toolbar click on 'Insert' and select 'Blank Page', If page is not selected click on that new blank page to select it.

3. On toolbar click on 'More' and select 'Page Templates', when window popup, give template a name (for this example I'll call it 'blank') then click on 'Add' and uncheck little checkbox next to template name, so it becomes hidden.

4. In a button as Mouse UP event, use this script to spawn template:

this.getTemplate("blank").spawn(this.numPages, false, false);

Known Participant
July 20, 2022

That's a start, but how do I reproduce the first page form elements, but as empty fields, now that I have a blank second page?

Thanks.

Legend
July 20, 2022

If form fields have the same name they WILL have the same value, on any page.