JavaScript Prompt - Hide Cancel Button?


I’m wondering if there is a way to hide the cancel button when defining a prompt in a script. I see that this can be done if a Prompt step is added, but how would it be done if the prompt is generated using a script instead?


You need to set isCancellable to false: Scripting Documentation.


Perfect! Thanks.

And thanks for that link.


Rosemary, your link is dead.


That’s because Greg changed this around a little since @RosemaryOrchard’s original post - things change quickly :wink:

You can (currently) find the scripting reference documentation at and the prompt documentation (including the isCancellable property) at


Thank very much you.