Binary
Hello,
we would like to use the modal alert but we need a second button. I tried copying the modal alert to another toolkit and tried to modified it.
Unfortunately I did not find any code for the structure (like html or so). I did not find any code to customize at all.
Is there an easy way to add this button, based on the copy of the modal alert?
Thank you and kind regards,
Binary
SPARK Support
Hi Binary,
The Modal Alert button is created programmatically in the load event of the control(coach view). Additionally, the control only supports two events: On Show and On Close. In order to add a second button, not only would code need to be added to provide an additional button element with programmatic reference, additional logic would need to be added to support the event that fires when the button is clicked.
You may wish to simply place two buttons on a modal section and handle the logic yourself.
Otherwise, feel free to reach out to our Sales Team for a potential Engagement in extending the control.
Regards,
Stephen P.