Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Radio buttons not sending data...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rmmarsh
Super User

USA
396 Posts

Posted - 09 May 2011 :  01:24:14  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
I have two radio buttons on my form (pragerphoneapps.com/about.php), one "yes" the other "no. Both have "values" of "checked". How do I fix this? This is what is being sent:


Browser: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
IP: 69.28.38.206
Date: May 8, 2011, 6:18 pm

Values from website form:
btnYes:
Comments:
btnSubmit: Submit
btnNo:


Edited by - rmmarsh on 09 May 2011 01:24:46

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 May 2011 :  09:01:59  Show Profile  Visit s.dav's Homepage  Reply with Quote
For each radio please act as follows:
1- assign a "value" property (this value will be sent to your server page)
2- assign a "name" string (the same to both, this make them to be mutually exclusive)

Your server page will receive a parameter named "name" and with the value of the selected radio.

Regards, Davide
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 09 May 2011 :  15:01:45  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Yes, Davide, they both have values and the same name. (see: http://i.imgur.com/s0aof.png)

What else could it be?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 May 2011 :  17:35:23  Show Profile  Visit s.dav's Homepage  Reply with Quote
Please send me the page and I'll check it

Regards, Davide
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 09 May 2011 :  19:07:51  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Page sent...
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 May 2011 :  08:51:40  Show Profile  Visit s.dav's Homepage  Reply with Quote
Rolf,

I checked your page and as you used the embedded PHP processor I suppose there is a bug in its management code.
I'll check it, thank you for your support.

Regards, Davide
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 May 2011 :  09:19:21  Show Profile  Visit s.dav's Homepage  Reply with Quote
Rolf,

I fixed the problem also in version 5.9; this evening I'll release the fixed version. The other problem (with the BOM character in UTF8 files has already been fixed for version 6.x and as it takes a lot of work I had not reported it in this version)

Regards, Davide
Go to Top of Page

rmmarsh
Super User

USA
396 Posts

Posted - 10 May 2011 :  15:38:49  Show Profile  Visit rmmarsh's Homepage  Reply with Quote
Thanks Davide... I eagerly await the code update.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 May 2011 :  08:41:30  Show Profile  Visit s.dav's Homepage  Reply with Quote
The version with the fix is online ;-)

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000