Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

(bbq) RE: (ar0n) RE: Unwanted CGI

by BBQ (Deacon)
on Oct 06, 2000 at 17:41 UTC ( #35573=note: print w/replies, xml ) Need Help??

in reply to (ar0n) RE: Unwanted CGI
in thread Unwanted CGI "Submit" Parameter

Hmmm... that's not entirely true. There's a big difference in these two submit buttons:
<input type=Submit value="This doesn't have a value"> <input type=Submit name=Submit value="This one has a value">
In other words, if you don't provide a name, there is nothing to associate the value to. Am I missing out on something important or has everyone gone gaga? :) Also, on a side note, I'd drop and start using with the compatibility mode. Ie:
use CGI; CGI::ReadParse(*in);
My R$0.02 (its less than two cents when you convert it to US$)

# Trust no1!

Replies are listed 'Best First'.
RE: (bbq) RE: (ar0n) RE: Unwanted CGI
by Fastolfe (Vicar) on Oct 06, 2000 at 19:07 UTC
    You are totally correct.. In my experience I generally don't see a submit input item with a name attribute unless the coder is interested in the value of the submit button..
    <input type='submit' name='submit' value='Next'> <input type='submit' name='submit' value='Previous'>
    Of course you can make it whatever name you want, but if you don't particularly care what submit button they hit, just don't provide a name attribute:
    <input type='submit' value='Save'>

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-11-30 21:47 GMT
Find Nodes?
    Voting Booth?