Copy link to clipboard
Copied
I'm working on a file that will use a page template to spawn additional pages of fields for the user to enter if required (replacing a spreadsheet with a PDF and the client wants to give people unlimited space to record info). One of the things we're doing is letting them fill a field with the link address and then using a button with a mouse up / run Javascript command to launch the hyperlink with this code
app.launchURL(this.getField("LinkStart1").valueAsString);
Obviously since this is programmed inside the button, the field name isn't changing from the page template when it spawns so the button no longer points to the right field.
Is it at ALL possible to get the buttons to work how I'm envisioning? The other option is to just make it a Rich Text field, but I feel like that's not as user friendly. (Or to ditch the page template idea on this particular document and just start with 6 pages of fields and when you run out of space you're done.)
Eager to hear your genius solutions, you lovely people!
Have something to add?