This is the code I'm using. var a = this.getTemplate("Page 5");a.spawn();
In Prepare Form Edit mode, the text shows up, but it doesn't in Preview mode.
It's not greyed out. It's just grey... the default color and you probably haven't added a label. Go into the properties again and set a label in the "Options" tab to set the text to be displayed on the button.
Also, do you actually have a template page named "Page 5"?
Oh gosh! Thank you!! I was looking in way too deep. Thank you!! I'll try this out in the am.
Yes, that's the name of my template, and that's what I put in the text box i added (not sure the purpose of the text box).
Based off instructions I found on someone's site:
- I inserted a new file to the end of my document.
- added a text box on the new page (I don't understand this importance of this step, but I did it)
- created a template from the new page, and hid it
- that's when I added the button to a different page that the user can click if they want to view the hidden page
Sent from my iPhone