- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 07:17 PM
Hello,
I have 2 variables for a specific request item that should be auto populate.
Valid from should be auto populate on the date of creation/submission.
Valid to is dependent to Validity.
If I select 1 week, the Valid to date should automatically populated based on the user’s selection.
How can I configure that kind of setup?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 10:37 PM
I tried to add this on default value javascript:gs.nowDateTime() and it worked.
My problem now is the Valid to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 08:29 PM
Is this for a Record Producer? I would think that you do not even need the "Valid from" or "Valid to" variables. Just set the "Valid from" date from the "Script" field in the RP and then the "Valid to" based on the "Validity" field.
If your users cannot really select a date, don't give them the variables on screen.