PHP Classes

radio check

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  How to Show Google Ma...  >  All threads  >  radio check  >  (Un) Subscribe thread alerts  
Subject:radio check
Summary:radio button won't appear checked ...
Messages:2
Author:Cybernanar Spigolo
Date:2006-09-20 23:13:04
Update:2006-09-20 23:24:47
 

  1. radio check   Reply   Report abuse  
Picture of Cybernanar Spigolo Cybernanar Spigolo - 2006-09-20 23:13:04
hello Manuel ,
i am tring the following

$subscription->AddInput(array(
"TYPE"=>"radio",
"NAME"=>"no_email",
"CHECKED"=>1,
"VALUE"=>"0",
"TABINDEX"=>"21",
"ID"=>"yes_emailing",
"LABEL"=>"<font color=green>$_YES</font>"

));

but my radio button is not checked. What am i doing wrong ?
thanks
bernard

  2. Re: radio check   Reply   Report abuse  
Picture of Cybernanar Spigolo Cybernanar Spigolo - 2006-09-20 23:24:47 - In reply to message 1 from Cybernanar Spigolo
Ok sorry i found the problem.
i was missing the
"ValidateAsSet"=>1,
and the message for it.
thanks .
bernard