Client Script: Edit page onChange doesn't fire when selecting "-None-" value.
I have a client script using the onChange event on the standard edit page that updates another field based on value selected in a pick list. This works great except I just realized when you select the "-None-" option in the pick list if you wanted no value set then it doesn't fire the event... which means I have no feedback to know the field is set empty so I can update this other field appropriately.
This definitely feels like it shouldn't be that way and a bug/oversight unless I'm missing something? If you are setting a fields value from something to nothing then I'd consider that a "change" for sure. As a work around I suppose I can/have to create another client script on the onSave event with the logic that checks if that field is set empty and if so then update the other field.
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.