- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 04:13 AM
i have teo fields in the request form. 1. Approval
2. Approval date
if we change the Approval field value as Approved, Approval date field need to display the date.
ex: if we change approval field value as approval today, approval date field need to display today date.
similar to we we change the approval field value to approval after 2 days, approval date field need to display on that date.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 04:31 AM
Hey Siva,
The business rule solution is the quickest possible way to achieve the requirement.
In case you need it via client script, you can try using the solution provided by SnowLearns below.
please mark my solution as helpful if it somehow helped you reach your solution or to enhance your understanding.
Thanks,
Shreya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 07:21 AM - edited 10-19-2022 12:36 PM
Hey,
It can be directly typed in the field that comes up on selecting Approval Date >> To >
javascript;gs.now();
it should serve your purpose.
Please mark it helpful if it works for you.
Thanks,
Shreya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 12:36 PM
Hey Siva,
Please let me know if my solution worked for you. If so, please mark the below reply as helpful.
Have a good day!
Thanks,
Shreya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 08:33 PM
is their any methos to solve this through Client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 10:47 PM
Hey Siva,
GlideDate, GlideDateTime or gs.now (); all these are server-side functions and can't be accessed via client script.
Thanks,
Shreya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 04:31 AM
Hey Siva,
The business rule solution is the quickest possible way to achieve the requirement.
In case you need it via client script, you can try using the solution provided by SnowLearns below.
please mark my solution as helpful if it somehow helped you reach your solution or to enhance your understanding.
Thanks,
Shreya