How to hide a button once it is submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:33 PM
Hello All,
I created a button in incident form called "Send Reminder".
Once it is submitted need to hide the button, generally while refreshing it is hiding.
it is needs automatically refresh the form once submitted.
please help me on this.
Thanks,
Abdul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:42 PM
Hello @Abdul333 ,
Is there any field change on the form happenng when you click this button ?
if yes , you can use that field as a visibility condition of your UI action and then hide it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:45 PM
@Mohith Devatte no field is changing, it will send the notification.
please help me on this, can we write directly in UI Action Script so that it will hide automatically once submitted?
Thans,
Abdul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:49 PM
Hi @Abdul333 ,
For UI action you could do: action.setRedirectURL(current);
For client script you could do: location.reload() Location Reload Method
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please mark my reply as Helpful and/or Accept Solution, if applicable.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:51 PM
@Abdul333 Refer my solution in below post. It will help you.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!