- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2016 09:56 AM
I tried with this script but it doesn't works .
if (( oldValue == -5 && newValue == 1 ) || ( oldValue == -5 && newValue == 2 ) || ( oldValue == -5 && newValue == 7 ) || (oldValue == -5 && newValue == 4) || (oldValue == -5 && newValue == 5))
{
return confirm('Incident in Pending state can only move to In Progress or Resolved');
reloadWindow(incident);
location.reload();
var answer = confirm("Incident in Pending state can only move to In Progress or Resolved");
alert('success1'+answer);
if (answer == ok)
{
alert('success');
reloadWindow(window);
}
else
reloadWindow(window);
}
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2016 09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2024 07:31 AM
Yes, you can reload the form or page in an on change client script.
use the below code of line.
Mark helpful if my answer serves your purpose.