By default, when you insert a form field outside of a form area, Microsoft FrontPage creates a form area with Submit and Reset buttons, and then inserts the field inside the form.
If you want to use form fields with scripts rather than inside forms, you will need to first disable this feature by doing the following:
Now you can write a script to use as a form field and not have to use the FrontPage automatic form field.
Note To test the functionality of your form, you must first publish your web site to a web server running either the FrontPage Server Extensions or SharePoint Team Services from Microsoft. Ask your web server administrator or Internet Service Provider whether this software is installed on your web server. Once the web site is published, click Preview in Browser to test the form.