|
| A R C H I V E D M E S S A G E |
|
Subject: Auto Response Data with Check Boxes & Radio Buttons |
| Posted: 02/20/2003 at 7:22:36 pm |
| By: Kip Cartwright |
| I have several check boxes and radio buttons in my form. I include this data in my auto response using {mydata} for each of the check boxes. As expected, if the box/button is checked then the proper value is included in the auto-response. However, if the box isn't selected or no radio button within a radio group is selected then {mydata} is returned the in auto response. I would have though it would return a blank string resulting in no data. Is anyone aware of a way around this?
Thanks,
K.C. | |
|
|
Subject: Re: Auto Response Data with Check Boxes & Radio Buttons |
| Posted: 02/21/2003 at 7:23:15 pm |
| By: Seth Knorr |
| VERY GREAT QUESTION!
I get this one alot.
Just put a hidden field below or after the check box,
<input type="hidden" value="" name="mydata">
The problem with check boxes is, if they are not checked in a form they act as if they do not exist. This is a standard problem with all form with internet explorer and Netscape. It would be nice if they changed this.
Seth
| |
|
|
Subject: Re: Auto Response Data with Check Boxes & Radio Buttons |
| Posted: 02/27/2003 at 7:24:17 pm |
| By: Kip Cartwright |
| This works great on the auto response howerver, it results in the field being listed twice in the Form Data email. I have attached a sample below.
Thanks,
Kip Cartwright
| |
|
|
Subject: Re: Auto Response Data with Check Boxes & Radio Buttons |
| Posted: 02/28/2003 at 7:24:51 pm |
| By: Seth Knorr |
| I never did realize that. There realy is nothing you can do about that though. The problem lies with the way netscape and explorer work not the script. I could write the script to where it does not print blank fields, but then other blank fields people would want to show up would not. I will think about maybe making show blank fields an option on a future version of the script.
Seth
| |
|
|