Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: validation built form with cgi::ex::validate that has radio buttons

by Anonymous Monk
on May 19, 2014 at 11:55 UTC ( [id://1086651]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            } elsif ($type eq 'radio' || $type eq 'checkbox') {
                my $e = $field->{'enum'}  || [];
                my $l = $field->{'label'} || $e;
    ...
                    $input .= "<div class=\"option\"><input type=\"$type\"
    + name=\"$field->{'field'}\" id=\"$field->{'field'}_$i\" value=\"$_e\"
    +>"
                        .(defined($l->[$i]) ? $l->[$i] : '')."</div>\n";
                }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found