Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 06:47 AM
Hello Experts,
In incident form under related list there is one tab called incident_task.
Now my requirement is
If incident state is closed then how to hide "new" button for incident_task tab?
example.
incident state is closed hide "new" button.
incident state is not = closed "new" button need to visible.
How to achieve this..?
note : this is not for admin role.
Best Regards,
Raj.
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 07:30 AM
I see,
try below:
if(parent.state=='7'){
answer = true;
}else{
answer=false;
}
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande
Thanks
Anil Lande
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2023 07:30 AM
I see,
try below:
if(parent.state=='7'){
answer = true;
}else{
answer=false;
}
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande
Thanks
Anil Lande