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
 form and php
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hifmo
Novice

Spain
4 Posts

Posted - 18 Apr 2008 :  06:01:57  Show Profile  Visit hifmo's Homepage  Reply with Quote
Hi, I have a form in a DHE 4.1.1.2 page with input controls like text, checks and radios. This page call to a php page. All works fine but radio controls. The user interface works fine and radio control too, but it does not sent the value of the radio control.
Text and check controls does it correctly.
why radio controls doesn't?

Part of php code:

$sin_licencia = $HTTP_POST_VARS['sin_licencia_rad'];
$licencia_privada = $HTTP_POST_VARS['licencia_privada_rad'];
$licencia_comercial = $HTTP_POST_VARS['licencia_comercial_rad'];
$licencia_atp = $HTTP_POST_VARS['licencia_atp_rad'];
echo 'sin_licencia_rad: '.$sin_licencia.'<br />';
echo 'licencia_privada_rad: '.$licencia_privada.'<br />';
echo 'licencia_comercial_rad: '.$licencia_comercial.'<br />';
echo 'licencia_atp_rad: '.$licencia_atp.'<br />';

s.dav
Site Admin

Italy
3364 Posts

Posted - 18 Apr 2008 :  17:32:53  Show Profile  Visit s.dav's Homepage  Reply with Quote
The only answer for this problem is that your radio is unselected so the radio data is not sent to the server

Regards, Davide
Go to Top of Page

hifmo
Novice

Spain
4 Posts

Posted - 19 Apr 2008 :  00:54:03  Show Profile  Visit hifmo's Homepage  Reply with Quote
I didn't have time to work with this. I change the radio controls and used a option control. Now all is working fine.
In the future I'll try the radio control.
Thanks after all.
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