Forums

Dropdown Selection Box

scion371 17 Aug, 2011
Am having problems getting a dropdown list to work. It is a simple list of subjects and they are listed in a Select Box, which initially had a list of:

No=No
Yes=Yes

I simply changed that for:

Airtime=Airtime
Iridium Airtime=Iridum

That did not work so tried:

airtime=Airtime
iridium_airtime=Airtime

Still no go, so I went to:

'airtime'=Airtime
'iridium_airtime'=Airtime

All I get is {input_text_5}

Yes, I am guessing. If I could write the code I would, but I don't even know where to put it.
GreyHead 18 Aug, 2011
Hi scion371,

Either of your first two examples should be good. Please check the name of the input though. It is probably input_select_5 and not input_text_5.

Bob
scion371 19 Aug, 2011
Greyhead, thanks for your comments.

You are quite right the select dropdown is referred to as: input_select_5
The Email is sent but returns the message against the word Select as input_text_5 as per:

First Name: Peter
Last Name: Anderton
Company: Scion Test
Tel: 07773074105
Email: [email]xyzzzz@domainname.com[/email]
Select: {input_text_5}

I cannot see where or how this is generated in the Easy Wizard editor and not quite sure where to start looking.
GreyHead 19 Aug, 2011
Hi scion731,

Probably in the Email template - click the Configure Email link.

Bob
darren 24 Aug, 2011
Hi Scion .. Bob ..
I have the same issue, I think .. :}
even when using just one form, testing the data sent to email that users enter, text entered and select by radio box is fine and seen in email, but select boxes (Drop down selections) just appear in the email as {new_htype} (example of one), its not just one drop down that's not sending data, but every drop down box...
I have finally got a multi (3) page form working, it sends data from each form to next .. *yay*
So now I have to fix this issue before worrying about "making the email look pretty" .. lol
In the cropped screenshot below, the data under "Current Address" is from form 2 and under "New Address" is from form 3 (final) so the dropdown boxes data from form 2 is showing as "Array" and dropdowns from form 3 are showing as{x_x}
(the data from form 1 is fine and shows in email - no dropdown boxes to deal with)



Any Help would be greatly appreciated
Daz
Max_admin 24 Aug, 2011
Hi Daz,

Please list all the dropdowns fields names in your 3 forms and for each one please state if it has the "multiple" enabled ?

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
darren 24 Aug, 2011
Hi Max
I dont have problems when I write code for other sites for dropdown boxes and email forms.. but this site we are using chronoform and I have it all working except feeding this dropdown data to email (it doesnt work even if I use a single part form so I have determined its not the data to session losing this data)
not sure why you want all listed?
(they all have individual names)
current_state - is the name of one and yes it has multiple ticked
Size: 1
Selected: QLD
Options:
QLD=QLD
NSW=NSW
VIC=VIC
ACT=ACT
SA=SA
NT=NT
WA=WA
TAS=TAS

thanks
Daz
darren 24 Aug, 2011
thanks🙂
LOL *doh* .. looks like tickling multiple was the issue .. LOL
Thanks for your help🙂

Staring at code too long makes you miss things..lol
wasnt til after i sent that that I thought.. hrmm.. why is multiple ticked? ..LOL

Daz
Max_admin 25 Aug, 2011
No problems, glad you found it!🙂

Multiple will post the dropdown value as an Array, so it will appear as Array without the "Handle arrays" action.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.