- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 07:05 AM
Could someone please let me know if there's a way to remove the new button from related list based on a Form's Field Value?
Referring the image above (also attached with this post), I need the new button on the related list to be made in-accessible once the "Status" field on the form is updated to "Completed" choice.
The related list (Tasks) only shows records associated with a particular form.
I noticed that omit New button can be used in list control but I can't seem to pass the field value from the form to the condition script.
Is there a way to access the "Status" field value from the form and pass it into the Omit new Button Script condition?
Or is there any other way to make the New Button unavailable after that Field value change?
Thank you in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 10:18 PM
parent is your form object.
if (parent.status == <value>)
true; // Show the New button
else
false;
Please update the value of status and try.
For your reference:-
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 10:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2022 10:24 PM
It worked!! Thank you so much for your help! I sincerely appreciate the effort you put in!! 🙂