There are two ways, depending on what you want: 1/ If the default value is always the same then simply edit the properties for the "spam" StringField and put "eggs" in the default field. 2/ If you do not know what the default will be until runtime then use the StringField's override properties to specify the name of a method to call for the default value. That method should return a string. This is all described in the help. Cheers, Matt On Mon, 2001-10-29 at 21:36, Timothy Wilson wrote:
Hi everyone,
Is it possible, using the uber cool Formulator product, to specify an initial value for a form field.
For example:
<input type="text" name="spam" value="eggs">
would draw an input box with "eggs" already filled in.
-Tim
-- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.org | http://www.zope.com W. St. Paul, MN | | http://slashdot.org wilson@visi.com | <dtml-var pithy_quote> | http://linux.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )