Forums

email a drop down

k0r54 13 Jul, 2008
Hey,

I have some drop down boxes in my form but when emailed they are emailed as 1,2 ,3 not the value of the select.

How do we change this?

Thanks
k0r54
Max_admin 13 Jul, 2008
Hi, change the value attributes of the dropdown options!

cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 18 Jul, 2008
Hi k0r54,

Just to expand Max's answer you need to add useful values to your option tags. If you don't set any:
<option>Option 1</option>
<option>Option 2</option>
...
Then you will get 1,2,3,...
So put values like
<option value="First option" >Option 1</option>
<option value="Second option" >Option 2</option>
...
and you will get First option, Second option, . . .

But please don't use over-complex values with punctuation in them as this can cause hiccups in recovering and storing data.

Bob
This topic is locked and no more replies can be posted.