AnsweredAssumed Answered

How to change buttons in api.prompt function

Question asked by KobiAzran on Jul 5, 2017
Latest reply on Jul 5, 2017 by Sagi_Gabay


I've noticed that the api.prompt() function in Form Handlers in Identity Portal can get two parameters, one is the text and the other one is "buttons" however, I can't find any example of how to pass the "buttons" parameter. I've tried an array, a Json, a Json array but nothing seemed to work.

I need to change it so it will show only one button, there is no use for both "OK" and "Cancel" most of the time..