multiple selections

Issues related to forms.
Post Reply
petejos
 
 
Posts: 152
Joined: Wed Aug 22, 2012 11:43 am

multiple selections

Post by petejos »

Hi pablo,

I am creating a form which allow user to select a multiple selection at once. I am using check boxes. For Example checkbox 1 = creche; checkbox 2= praiseandworship; checkbox 3 = refreshment. After the user make the selection, I want the email autoresponder to only send the selected checkbox. For example, user selected checkbox 1, when the email being send to the user, it should only show the creche.

The following is the sample of respond being sent from the email autoresponder. Any idea what have I done wrong?

creche
$praiseandworship
$refreshment
User avatar
Pablo
 
Posts: 23608
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: multiple selections

Post by Pablo »

The browser will only include the values of checked checkboxes. Other data will not be posted.
This is covered in the W3C HTML 4 recommendation:
http://www.w3.org/TR/html401/interact/forms.html

If you need different behavior then you will have to implement a script to process the data yourself.
Post Reply