Date Field On change CS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 11:57 PM
Hello developers,
I need to implement a scenario where user has to select a date range which is dependent on custom field from custom table(lets say it has values 1, 2, 3 etc. so on). If user selects 1 then Date field on UI has to enable to select one month back from today.
If user selects 2 then date field should enable to select two months back from today.
Please suggest the logic, Any suggestion is appreciated,
Thanks!
USER DATE
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 01:26 AM
You should give it a try with the UI Policies instead of Client Script. Refer below posts and give it a try :
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.