|Perl Monk, Perl Meditation|
HTML::Template & HTML Elementsby BlenderHead (Novice)
|on May 31, 2009 at 02:23 UTC||Need Help??|
BlenderHead has asked for the
wisdom of the Perl Monks concerning the following question:
I am intermediate level Perl programmer, but this is my first post here, so please bear with me for being new.
I dont have any simple example for this question, so I'll just have to talk it out. Hopefully, it will make sense enough to answer.
Am working on a CGI app using HTML::Template. It gets the user to complete a fill out form with text fields, radio buttons and a pulldown menu. After the form is completed it reposts the information (in a validation phase) and offers the author the option to edit the input. The problem occurs when the user wishes to edit the information.
When the user clicks "Edit" the idea is for them to refer back to the form with the previously inserted information. It is easy enough to pass the parameters back into the text fields, but the information in the radio buttons and pull down menus isn't resetting those fields to where the user left off.
Anyone have any ideas on how to handle this?