The first three fields below — name, email address and University ID — will auto-populate if the form is Webauth'd to the Stanford community. See Restricting access to a form,below. Note: do not Webauth your form if you expect people outside Stanford, i.e., people without a SUNet ID and password, to use the form. You can also require that any of the fields be completed before the form can be submitted.
- Email Address
- University ID (BETA)
- Phone Number
To add an advanced field, select the Build tab and click on the field name. As mentioned above, you can specify in Edit mode that certain fields be auto-populated, and you can require input for any field.
Exporting your data
You can download form data in Excel or CSV format:
- Log in to the Form Management screen of the Web Forms Service.
- Find the name of the form containing the desired data.
- If data is available for download, you'll see an active link in the Entries column (for example, 10 entries). Click the link. The Data Viewer opens.
- Under the name of your form, click Export your data in Excel Format (.xls) or Export your data in CSV Format (.csv). The file will automatically download to your desktop.
Restricting access to a form
You can protect a form using Webauth by adding a .htaccess file in the AFS directory specified for the form. See the example code, below.
AuthType WebAuth require privgroup stanford:stanford
Giving form access to another person
Using iframes to insert a form in a web page
To provide for a more seamless integration into your web site's design, choose the iframe style under the Style section of the Publishing tab. Then, add code similar to the example below to your web page:
<iframe src ="http://www.stanford.edu/dept/foo/myform.fb" width="100%" height="300" frameborder="0"></iframe>
Adding links and graphics
Using basic HTML, you can add graphics, links, etc. to your forms and surveys. HTML can be added in the text of most fields as you create your form. You cannot, however, incorporate HTML into field labels.
Additional topics are covered in the Web Forms FAQ.