in reply to Re: Maintaining form state with HTML::Template
in thread Maintaining form state with HTML::Template

I agree with what you are saying but with the TMPL_LOOP I have to supply the vars script side.
I want to avoid that all together thats why I was looking for a better way.
-dwiz
  • Comment on Re: Re: Maintaining form state with HTML::Template

Replies are listed 'Best First'.
Re: Re: Re: Maintaining form state with HTML::Template
by TheoPetersen (Priest) on Jun 22, 2001 at 19:39 UTC
    There may be a better way, but we use the same technique Arguile presented.

    The only other method we tried was to use JavaScript to set the selected option based on another input. Nice if you like JavaScript, but I prefer the <TMPL_LOOP> version as it doesn't depend on what the browser does with the JS code.