I am not exactly sure of the order of execution, but I know it doesn't work like that... If you need interpolation on the form, you will have to do it inside the same block that creates it.
As far as I know, there is no option to cause a page or block to be reparsed. Good luck, Cameron > -----Original Message----- > From: Harald Becker [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 17, 2003 1:52 PM > To: [EMAIL PROTECTED] > Subject: RE: Fill out formular fields with embperl > > > > I think it will do what you want if you remove the > > value="..." token from the input: > > > > <input type="text" name="info"> > > > > If you need a default value, set it by placing a value in > > fdat above the > > input: > > > > [- $fdat{info} = 'testing'; -] > > Thank you, this works, but I've got a new problem :) > I need to declare the formular in a var and later I write it into the > document, and then Embperl does not fill out the formular... > Is there a > solution, too ? > > [- > $fdat{info} = "testing"; > > $_[0]->{formular} = ' > <form action="/test/form.htm"> > <input type=text name=info> > </form>'; > > -] > > [+ do{ local $escmode=0; $_[0]->{formular} } +] > > Harald > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]