In UI page code doesn't work different instance environments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2023 04:20 AM
UI Page code works on my PDI, but doesn't work in my company instance and I don't receive expected output. Can anyone help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2023 04:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2023 04:42 AM
These two conditions doesn't work as expected
2. if(endDateStr < startDateStr)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2023 05:40 AM
Hi @Anish9515 ,
This is an onSubmit Client script. Plus what are you trying to achieve? As in what is the thing that you trying to check. By looking at the code what I understand is u want to check when the form is submitted whether the planned start n planned end date is filled or not plus if they have selected any past date
Is my understanding correct?
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2023 05:41 AM
If that's the case then I think most of ur checks can be achieved by using UI policy itself u don't need to code for it.
Thanks,
Danish