| Posted by Leonie on 06/13/64 11:10 
> > DID YOU TRY THIS??
 >
 > <?php
 >
 >   echo "<input type=\"text\" value=\"$yourVariable\" />\n";
 >
 > ?>
 >
 > Look! I just assigned data to the form!
 >
 >
 >
 > Chris.
 
 I'm using Pear Quickform (hence my subject title) with Smarty.  The
 value needs to be assigned to the Quickform object somehow.
 
 Creating the field with:
 $form->addElement('text', 'year', 'Year:');
 
 How do I add the value?
 
 Leonie
  Navigation: [Reply to this message] |