I have 2 fields:
field 1: postcode (TEXT)
field 2: plaats (TEXT)
Those 2 fields are place right next to eachother.
Both fields have on Onleave-method
field 1: postcode = postcode.toUpperCase();
field 2: plaats = plaats.toUpperCase();
Create a new record. When I fill in field 1 and than leave field 1, for some reason the method of field 2 is triggered resulting in:
Error while executing method with name capitalize_plaats, id 2155
Cannot convert null to an object
This make sense, because I did'nt fill in this field yet.
How is it possible that the method of field2 is triggered before I entered it??