- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 12:56 AM
I have a onChange client script written to change the color of a medal category field based on the application selected in incident table for a field. The changing of color works if I change the value of the application field. But when I submit the form the color is not displayed
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 01:53 AM
Hi, I finally found the solution
After saving the form it is reloaded, and this client scripts doesn't run onload, that is why it is not executing.
We need a script that runs onchange as well as onload.
We can either remove the isloading check form this script then it will work. But it wil be highlighted in healthscans as going against best practice.
Or we can create another Onload script that does the same thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 01:53 AM
Hi, I finally found the solution
After saving the form it is reloaded, and this client scripts doesn't run onload, that is why it is not executing.
We need a script that runs onchange as well as onload.
We can either remove the isloading check form this script then it will work. But it wil be highlighted in healthscans as going against best practice.
Or we can create another Onload script that does the same thing.