- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 08:01 AM
Hi All,
I have an onchange() script on the reference field , which works fine when I change the value of the field, but when I make the field blank by erasing the value, the onChange script wont get called.
So the check if(newValue == "") never gets called.
Thanks,
Uma
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 08:22 AM
Because it is returning out of the script. Take out the
|| newValue == ''
and it should work fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 08:24 AM
Thank you Mike, I did not notice that.
Thanks
Uma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 08:26 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 08:28 AM
Yes, I was testing with just the newValue=='' condition.