Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: RE: Re: Multiple Scripts?

by swiftone (Curate)
on Nov 14, 2000 at 23:02 UTC ( #41621=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Multiple Scripts?
in thread Multiple Scripts?

If i do do the radio button way, can i have it, so when the button is active, the form points to one script, and if it is unchecked, the form points to another? basically what he wants is the one field, instead of being printed twice, for each script, its printed once, and based on what date is picked, it goes to the correct script?

Not without Javascript (and don't go there).

So the solution is to either use what jptxs provided (but make sure you pass along your $ENV{QUERY_STRING} tacked on), or to make your two scripts non-CGI. Make them subroutines or Modules, and require/use them in the one CGI script that gets the form data.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2023-06-01 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?