Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Re: Re: problem with form value (using

by Trimbach (Curate)
on Feb 16, 2004 at 14:13 UTC ( #329294=note: print w/replies, xml ) Need Help??

in reply to Re: Re: problem with form value (using
in thread problem with form value (using

Ok. Here's your problem: you're missing a comma in your print statement. It should read like so:
print "Qty:", $query->textfield(-name=>"qty$ingredientAoH[$i]{ingID}", -default=>"$ingredientAoH[$i]{qty}", -size=>'10', -maxlength=>'20');

Note the comma between -default=>"$ingredientAoH[$i]{qty}" and -size=>'10'. That fixes your problem. :-)

Gary Blackburn
Trained Killer

Replies are listed 'Best First'.
Re: Re: Re: Re: problem with form value (using
by MCS (Monk) on Feb 16, 2004 at 14:40 UTC

    Ahhhh.... Thank you so much this has really been bothering me as it looked right. I should know by now that if strange things are happening it's because of syntax problems. Now I can edit my recipes without having to replace all the quantities that are fractions.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://329294]
[marto]: lazyweb Q: so an IE window apparently opened via JS with toolbars=no, all other IE instances closed. Click a URL in an email or whatever, and it doesn't open a new window or tab.
[marto]: does JS lock down windows created via to prevent this?
Discipulus ignores..

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2018-03-21 11:39 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.