Skip to Content Skip to Menu

Drop-down: a value to show, but different value to send

11 years 3 months ago #229885 by support_menarini
Hi,

I am needing help to do this. On a drop-down list of values in a cb register form i need to show to the user something different than the info the database gets.
For example, I want to show the user 'Washington Hospital', but i want the database to get 'wa_hosp'. In HTML would be like:
<option value="wa_hosp">Washington Hospital</option>

Please help,

Thanks in advance.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum