Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: CGI form on click new window display

by Toxa (Novice)
on Jan 31, 2005 at 14:48 UTC ( [id://426618]=note: print w/replies, xml ) Need Help??


in reply to Re^2: CGI form on click new window display
in thread CGI form on click new window display

minixman, The "method" displayreg() is responsible to display in the browser ... Try to write this method ; Regards, Toxa.
  • Comment on Re^3: CGI form on click new window display

Replies are listed 'Best First'.
Re^4: CGI form on click new window display
by minixman (Beadle) on Jan 31, 2005 at 15:51 UTC
    I have written this method
    But which is another form
    la
    sub displayreg() { printf $q->h1("CVS New User registation for $_[0]"); +# Print Header printf $q->start_form; printf "<br>"; printf "<b>Please enter the details below to register +a new user </b>";print"<br><br>"; printf "<EM>Users Username from GD </EM>"; print $q-> +textfield(-name=>'username',-size=>'20');print"<br><br>"; printf "<EM>Users Email Address </EM>"; print $q->tex +tfield(-name=>'emailaddr',-size=>'30');print"<br><br>"; printf $q->hidden(-name =>'mode',-value=>'regthisuser' +); printf $q->hidden(-name =>'repaccess',-value=>$_[0]); printf $q->submit(-value=>'Submit'); printf " "; printf $q->reset; printf $q->endform; printf "<BR>"; }

    So you see, first the user uses one form to select what they would like to do.
    then With that selection another form will be generated to handle their tasks
    . It is the second form generation that i have problems with

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found