Hi,
I want to save the Selected Option Label and NOT value into the database from a select menu. I mapped "Selected" to the the database field. However, the value of the option is getting saved. I want to save the label name into the database.
Hi,
I want to save the Selected Option Label and NOT value into the database from a select menu. I mapped "Selected" to the the database field. However, the value of the option is getting saved. I want to save the label name into the database.
Hello Mike,
You can get it via JS.
Just add this JS on the service's request parameter:
return Apperyio("mobileselectmenu").find(":selected").text();
here mobileselectmenu - name of the select component