[plug] cgi programming in Perl

Adam Ashley adam_ashley at softhome.net
Mon May 7 10:55:33 WST 2001


your using CGI right?

well if you are add  these two options to the form elements -default=>"" (or
a suitable default value) and -override=>1 this tell CGI to use the default
value as apposed to filling the fields in with the previously submitted data

Adam

> -----Original Message-----
> From: Anne Busby [mailto:annebusby at yahoo.com.au]
> Sent: Monday, 7 May 2001 9:58 AM
> To: plug mailing list
> Subject: [plug] cgi programming in Perl
>
>
>
> Hi all,
>
> I have a problem with a cgi script. The script gets
> input from a form and then calls itself to save the
> data and get the next lot of data to save.
>
> The script works ( as in saving the data), but
> displays the old data in the form.  Is there any way
> when creating a form that 'POST' to itself of clearing
> the data and displaying a blank form the next time
> around.
>
> TIA
>
> Anne Busby
>
> __________________________________________________________________
> ___________
> http://store.yahoo.com.au - Yahoo! Store
> - It's time you had your business online!
>




More information about the plug mailing list