- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 05:42 AM
Hi All,
I have a couple of choice lists that seem to be showing a blank value at the bottom of the list. 1 of these choice lists is inheriting its choices from another field and the other is being populated by an onLoad client script. The blank option can be selected but not saved so it's not causing a problem per se but it's ruining my aesthetic!
Has anyone seen this happen before and can anyone advise on how to get rid of it?
Solved! Go to Solution.
- Labels:
-
Instance Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 07:00 AM
onChange client scripts can also run onLoad. Check the options on that client script and check in the script if it is even checking the isLoading flag.
Ex:
if (isLoading)
return;
That will NOT run the onChange client script onLoad. if it is running onLoad, then you may have found the smoking gun.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 07:00 AM
onChange client scripts can also run onLoad. Check the options on that client script and check in the script if it is even checking the isLoading flag.
Ex:
if (isLoading)
return;
That will NOT run the onChange client script onLoad. if it is running onLoad, then you may have found the smoking gun.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 07:55 AM
Aha! Yes, the client script is definitely the culprit, who knew an onChange client script would run onLoad?! Well, obviously you, but i didn't!
I'm not sure why the onLoad script is adding in a blank field though, it's certainly not part of the arrays i'm passing in. At least i know where it's coming from though so thanks a lot for that Chuck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2019 03:57 AM
I'm not convinced you're on the right forum Doois!