Question
Set limit to a page spawn script
Hi everyone, I'm using a simple script with a button to spawn a new page from a hidden template; however, is there a way to limit the number of times that page is spawned? I need to limit it to only one time / one page spawn per button. I'm a rookie here, so my current script for the page spawn button is pretty basic:
| Header 1 |
|---|
| var a = this.getTemplate ("PARS3"); a.spawn(); |
Thank you for the help!
