Confirm button on GlideModal not working in UI Action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 03:37 AM
I've created the following code for my UI Action, which includes my GlideModal and a function:
When a user clicks the Confirm button, it should run the generateorContinueAssessment(). However, when I click the 'Confirm' button the following is happening:
I was just wondering if somebody could explain why this is happening and what I need to do to stop it.
1 REPLY 1
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 08:03 AM
In your code, you have an onclick=confirm() which is popping up the second confirm window. If you name your function something else, like confirmAMA then make your onclick=confirmAMA() your code should work.