in reply to CGI.PM automaticly reset form to Defaults
Not entirely sure what you mean by ... want to invoke it from my program, but my Crystal Ball tells me you might have the following scenario :)
You're repeatedly calling the same CGI script (as, for example, to enter multiple data records into some DB, with each form submit providing the data for a single record...), and you want to keep CGI.pm from setting the values of the previous submit as start values in the next form presented to the user.
If that's the case, the method delete_all() might be what you're looking for. Just execute it before outputting the form -- after having processed the parameters from the previous submit, of course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI.PM automaticly reset form to Defaults
by harryC (Sexton) on Jan 14, 2007 at 16:49 UTC | |
by almut (Canon) on Jan 14, 2007 at 18:02 UTC | |
by harryC (Sexton) on Jan 14, 2007 at 18:22 UTC | |
by marto (Cardinal) on Jan 15, 2007 at 09:36 UTC | |
by almut (Canon) on Jan 14, 2007 at 18:34 UTC |