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'; -] Cameron > -----Original Message----- > From: Harald Becker [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 17, 2003 1:12 PM > To: [EMAIL PROTECTED] > Subject: Fill out formular fields with embperl > > > Is it possible, that Embperl automatically fills out the html formular > fields and takes the values from %fdat or %idat ? > > The following example does not to work either with %idat or %fdat > I don't want to set the form values with value="[+ $fdat{info} +]" > > test.htm: > > [- $fdat{info} = "rewritten"; -] > <form action="test.htm"> > <input type="text" name="info" value="testing"> > </form> > > What should happen is that input field info has the value "rewritten" > when printed to the browser. > > 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]