null_select problem
-
Hello!
I have a Multiselect Dropdown field defined with the following options: null_select::Only native language, Bulgarian, Croatian, Czech, Danish, Dutch, English, … and so on. The field is not required, and I was expecting if user was not selecting any values from the list, the option “Only native language” was set. If user made selection, and then he wanted to reset the value, he could select “Only native language” from the list. But, the value saved in database is blank. And, the same behaviour occurs if I edit profile for the user from wp-admin console.
What can cause this problem?
I use custom template to show record, but I don’t mess with the way how the fields are displayed.[pdb_record template=custom record_id='{$record_id}’ fields=’first_name,last_name,age,country,city,native_language,additional_languages,email,phone,skype,whatsapp,telegram’]
Also tried to set default value to “Only native language”, but no luck.
Thanks in advance!
The topic ‘null_select problem’ is closed to new replies.