Problem With Formmail Data

liunx

Guest
Upon receipt of the formmail (after user submits form) the E-mail contains all of the form data except the type="checkbox" values do not appear. Example, one of the questions is as follows:<br /><br />What do you remember most about your meal?<br /><br />input name="Likes_dislikes" type="checkbox" id="Main Course" value="Liked Main Course"><br />Main Course<br /> <br />input name="Likes_dislikes" type="checkbox" id="Service" value="Liked Service">Service<br /><br /><br />Please review the source:<br /><a href="http://lafamiglia.com/Comments.php" target="_blank">http://lafamiglia.com/Comments.php</a><br /><br />For some reason, if a user checks the both "Main Course" box and the "Service" box (or any of the other check boxes) when the formmail data in received is shows only the following:<br /><br />Likes_dislikes: If other please specify<br /><br /><br />Any idea as to why it fails to show the data as checked?<!--content-->
Moving for organization<!--content-->
Sorry, I don't use formmail so I don't know why it fails <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><br />But we have some family members that do use it, so maybe they will be able to help you.<!--content-->
I've never tried that script but I see that they offer free support on their site.<br /><br /><!--coloro:blue--><span style="color:blue"><!--/coloro-->http://www.tectite.com/formmailpage.php<!--colorc--></span><!--/colorc--><!--content-->
I don't know or use formmail.<br />My first guess is that the variable isn't recognized as an array.<br />From what you say, you can select more than two options so the varable must be an array.<br />Long shot but you could try to put [] behind Likes_dislikes <br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Likes_dislikes[]<!--c2--></div><!--ec2--><!--content-->
 
Top