make a field visible and mandatory if other field changes values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 06:08 AM
Hello,
I am trying to make the field "Reject reason" visible and mandatory to fill in in order to change the status.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:24 PM
so here is my current UI Action:
now, when i click "reject" the form closes up and im back on the record list. Any advices?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:31 PM
After current.update() , can you please add
action.setRedirectURL(current);
Please mark helpful if this helped or accept the solution if it solved your query.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:38 PM
I have added:
action.setRedirectURL(current);
Now, when i click 'Reject' nothing happens:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:42 PM
Can you try adding, gs.action.setRedirectURL(current);
Was it working before you added the above line?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:46 PM
I have modified it and used gs.action.setRedirectURL(current);
but now i am getting an error: