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
You can share administration of your form by giving others access to the directory in AFS where the form is located. When someone has administrative (admin) permissions, he is allowed to see, change, and move files. You can assign administrative permissions for the AFS directory that holds your form, but not to a single form.
Grant access to all forms in a directory
- Make sure the person has administrative access to the AFS space where your form is kept. For security reasons and to make forms easy to find, you might want to store all of your forms in a single directory and give admin permissions for that directory only. Learn how to set permissions.
- Have your co-workers verify that they are listed as an administrator and add your form to their list of managed forms. Enter the form's URL at formbuilder.stanford.edu and click Add.
Let's say, for example, that you created a form published at http://www.stanford.edu/dept/foo/forms/contact.fb and one of your colleagues is an admin of /afs/ir/dept/foo. When he enters the form's URL in the Form Management screen and clicks Add, the form is added to the list of forms he'll see when he visits formbuilder.
Grant access to a single form
If you want to give someone access to a specific form and data but not the entire AFS directory, please submit a HelpSU request. Include the SUNet ID of each person to be added and the URL for the form in your request.
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"></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.