How to display dates dynamically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 08:02 AM
Hi,
I have a requirement explained as below.
I have 3 date fields say (Date A, Date B and Date C) on a form. Based on date selected on Date A, the dates should be set in Date B and Date C.
For Ex: If I select Date A as today(03/17/2017) , then Date B should be set with yesterday's date(03/16/2017) and Date C should be set with "day before yesterday's date" (03/15/2017).
Please help me how can we do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2017 12:12 AM
I think creating another client script is not a good practice. Because, as per your suggestion, no of clients increases if I want to set dates on multiple fields say 7 Clients for setting 7 dates fields.
So, is there any alternative way other than this. Is there any possibility to modify the script include for setting values in multiple date fields.
Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2017 12:19 AM
You have good enough understanding of what needs to be done 😃 good job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 08:07 AM
Hi Varun,
For client side date validations, you can refer to Client Script Date/Time Functions
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response