- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 09:58 AM
I have two custom UI actions on one form and need them to both process separately, but the second custom ui action processes on both custom form buttons. I am absolutely sure the solution is simple, I just can't seem to sort out what I need to do in my script or the condition statement.
Assistance would be great, thank you!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 10:50 AM
You need to have the function name doubleCheck() different names instead of one name for each UI action.
SO change the function name in the onClick and the script to a different name for one of the UI actions.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 10:57 AM
Agree that having the same function name is a bad idea, mostly because these are two UI actions living together on the same table and mostly showing together on the form.
Change the doubleCheck function name to something else on the Onclick field and on line1 of the code.
If I helped you with your case, please click the Thumb Icon and mark as Correct.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 10:50 AM
You need to have the function name doubleCheck() different names instead of one name for each UI action.
SO change the function name in the onClick and the script to a different name for one of the UI actions.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 11:02 AM
That worked, thank you! I was concerned the doubleCheck was a function I could not modify. I just changed it tripleCheck() and it works just fine now

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2022 11:03 AM
Awesome. Glad it helped. Could you please mark my response as correct answer if it worked for you.
Please mark this response as correct or helpful if it assisted you with your question.