in reply to Re^2: Params in CGI
in thread Params in CGI

Parameters are checked/validated _inside_ of that loop. $cgi->param('radioA1') returns false if that radio was not checked.

Replies are listed 'Best First'.
Re^4: Params in CGI
by Anonymous Monk on Nov 20, 2008 at 14:06 UTC
    Thats right, But Since the foreach and for loops are with in the form page, adding those lines will result in giving the users all the wells as missing before they enter anything. That is, it will load as:
    param A1 missing param A2 missing and so on....

    then with the table of 96 radio buttons. What I like to do is by someway get the parameters from the 96radio buttons (they have gt different radio buttons) I have tried by getting all the params in the form through  @names = $cgi->param() but that didn't fetch any parameters at all. Any better way please?
    thanks.