Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Removing auto formatting at end of forms

by osunderdog (Deacon)
on Nov 14, 2006 at 02:59 UTC ( #583892=note: print w/replies, xml ) Need Help??


in reply to Removing auto formatting at end of forms

well, several things... may or may not have anything to do with the problem you are seeing with IE.

  • Everyone highly recommends using CGI rather than rolling your own HTML.
  • You're referencing @recordnum[$i] and @record[$i]. However I think you probably should be doing:
    use strict; my $i = 1; my @recordnum = ('this', 'that', 'those'); my @record = (1, 2, 3, 4); print "<button type='submit' name='butCat' class='sub' value='$recordn +um[$i]'><b>$record[$i]</b></button>";
  • Finally, I'm certainly not a HTML guru, but I would probably mess with spacing using a class and a CSS.

Hazah! I'm Employed!

Replies are listed 'Best First'.
Re^2: Removing auto formatting at end of forms
by grep (Monsignor) on Nov 14, 2006 at 04:32 UTC

    Everyone highly recommends using CGI rather than rolling your own HTML

    Not quite. Everyone recommends using CGI (or it's cousin) for parsing CGI input, not rolling HTML. In fact you'd be hard pressed to find someone who recommends CGI's html functions. Most people I know of recommend a templating system like Template::Toolkit or HTML::Template.

    grep
    XP matters not. Look at me. Judge me by my XP, do you?

Re^2: Removing auto formatting at end of forms
by greymoose (Beadle) on Nov 14, 2006 at 04:27 UTC
    osunderdog,
    I must confess I am lost by your comment about using CGI - I thought I was. I guess it's back to the drawing board (or documentation).
    Thanks for the input.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2020-12-05 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?