Guest_imported
New member
- Jan 1, 1970
- 0
I hav noticed an error on my script. It's not printing correctly.
For the form part I have this:
Field #1 Size: <INPUT TYPE="TEXT" NAME="Field1Size" VALUE="$vars_gen{'Field1Size'}" SIZE=3 MAXLENGTH=3><BR>
Field #1 Maximum Size: <INPUT TYPE="TEXT" NAME="Field1MaxSize" VALUE="$vars_gen{'Field1MaxSize'}" SIZE=3 MAXLENGTH=3></B></FONT>
</td>
...and for the printing part it looks like this:
print FILE qq!Field1Size => q~$vars_gen{'Field1Size'}~,\n!;
print FILE qq!Field1MaxSize => q~$vars_gen{'Field1MaxSize'}~,\n!;
Everything I have done above and below that works perfectly.
On my default variable file it's set to 20 for Size and 50 for max size. After I submit the form and go back it looks somthing like 20202020202020202020 and 505050505050505050.
What am I doing wrong and how can I fix this...?
Thank you!! ;-)
For the form part I have this:
Field #1 Size: <INPUT TYPE="TEXT" NAME="Field1Size" VALUE="$vars_gen{'Field1Size'}" SIZE=3 MAXLENGTH=3><BR>
Field #1 Maximum Size: <INPUT TYPE="TEXT" NAME="Field1MaxSize" VALUE="$vars_gen{'Field1MaxSize'}" SIZE=3 MAXLENGTH=3></B></FONT>
</td>
...and for the printing part it looks like this:
print FILE qq!Field1Size => q~$vars_gen{'Field1Size'}~,\n!;
print FILE qq!Field1MaxSize => q~$vars_gen{'Field1MaxSize'}~,\n!;
Everything I have done above and below that works perfectly.
On my default variable file it's set to 20 for Size and 50 for max size. After I submit the form and go back it looks somthing like 20202020202020202020 and 505050505050505050.
What am I doing wrong and how can I fix this...?
Thank you!! ;-)