- or download this
my $form = new FormObject( $ref2QuestionsHash, $ref2QuestionsOrderArra
+y );
$form->printForm;
$form->validate($ref2UserInput)
- or download this
'data' => [
['m','male'],
['f','female'],
],
- or download this
my $valid = 0;
for (my $i=0; $i<=$#{$question->{'data'}};$i++){
...
last;
}
}