in reply to Re: Quick Param Question
in thread Quick Param Question

rodion, why not check all the form components automatically with a nice library, rather than checking for a single parameter to make it all work?

Checking param( submit ) doesn't work well, particularly for complex, multi-stage forms, or forms with more than one operation, like:

email:_______________
[subscribe] [unsubscribe]

or something wth a

[<< back ][forward >> ]
wizzard style interaction model.

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Replies are listed 'Best First'.
Re^3: Quick Param Question
by rodion (Chaplain) on Mar 29, 2007 at 03:51 UTC
    It's worth pointing the questioner in a better direction, and it's also worthwhile explaining the problem he's run into where he is.

    Your advice is good, I agree with it, and the OP will do well to look further in the direction of CGI::FormBuilder, as you suggested in the first post.

    My take on the OP's question was that he was somewhat new to forms and parameters, was working from the example givin in the CGI module, and was a bit puzzled by the code from that example not working for him. My aim was to help him understand what was going on a little better, in answer to the "I cant figure this thing out." plea at the end of his post.

      rodion++

      Good point.

      @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;