Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

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

11 years 4 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