- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2024 12:29 PM
I am attempting to repurpose a script I found to provide a prompt/confirmation before another function as youll see in the script below. The goal is to have the user confirm the state change before it happens. I would appreciate any help anyone could provide. I believe the issue is in the part "gsftSubmit(null,g_form.getFormElement(),'sys_update_value');" but i dont know why? I also dont understand the "sys_update_value" or what I would modify there. Thank you in advance for the help!!!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2024 06:19 AM
Under your current.update() put this line
action.setRedirectURL(current);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2024 12:36 PM
Take a look at this thread, it breaks down info about UI actions that contain server side script
Client-Side and Server-Side Code in ONE UI Action using gsftSubmit()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2024 01:40 PM
THANK YOU. I figured it out. But now im left with a problem, when it executes it seems to leave the record and go to another. Are you able to tell me why?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2024 06:19 AM
Under your current.update() put this line
action.setRedirectURL(current);