Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio Buttons' values aren't going... H_E_L_P !!!

Status
Not open for further replies.

macmonteiro

Programmer
Oct 24, 2002
35
BR
Hulla-Lele!

We've written an html 'popup' page that sends data to php using
creator.location="pod_inclu.php?name="+frm.name.value+"&..and so on..

Its working alright since input type <> &quot;radio&quot;

why does it happen? Is there anything wrong with my form syntax?

the buttons are these:
<input name=&quot;opt&quot; type=&quot;radio&quot; value=&quot;marca&quot;> Cadastrar outra marca com o mesmo Princípio Ativo.<p>
<input name=&quot;opt&quot; type=&quot;radio&quot; value=&quot;embalagem&quot;> Cadastrar outra embalagem da mesma marca

------------------H_E_L_P
 
when I simply changed to <inout type=&quot;text&quot; value=&quot;marca&quot;> it worked.

why?
 
request(&quot;opt&quot;) should equal the value you set for the radio button selected....


on your form handler page, what does this code give you?(make sure you have selected a radio selection)

response.write &quot;XX&quot; & request(&quot;opt&quot;) & &quot;XX&quot; -- Just trying to help...
[wolf]<--- This is a wolf? We need a new icon.......
mikewolf@tst-us.com
 
No, man, we're talking about PHP. This mess around 'request' method isn't supposed to happen...

All the other variables but this opt are showing alright when you add an 'alert(var_name)' instruction to the function that submits the data.
So I wonder it's not even getting there...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top