Skip navigation |

Form Input Types

Last updated: 09 May 2012, 15:55

When you add questions to your web forms, you can choose how you want those questions to present themselves to the user, and what kind of input control the user can use to provide an answer to the question. The list below shows all the different Input Types that you can use, along with a brief description.

The name of each input type is a link to further information. Each type contains descriptions under the following headings:

  • Mandatory
    How the items behave if you make the question mandatory
  • Parameters
    Describes all of the different things that you can enter into the Parameters box to make the item behave in different ways.
  • Default Value(s)
    Describes whether or not the input type allows you to define default value(s) for the question.
  • Resource Gallery for Allowed Value Images
    Describes whether or not the input type allows you to define a resource gallery that is used to display images to the user.
  • Query String Key
    Describes whether the input type alllows you to pass a value for the question in the query string part of the form's URL, should you want to.
Address
Address
Allows a user to enter an address that comprises Line 1, Line 2, Town, County, Postcode and Country.
 
Auto Complete Text
Auto Complete Text
Presents a text box that can accept one of a range of allowed values. As the user types, the box suggests which of the allowed values the user is typing, allowing the user to easily select the item. Use when there are more allowed values than would easily fit into a dropdown list.
 
CAPTCHA Image
CAPTCHA Image
Presents an image that contains some obscured characters. The user must type the characters as s/he sees on the screen to prove that s/he is human. This helps to prevent spam.
 
Checkbox
Checkbox
A simple checkbox for recording yes/no answers. Note that an un-ticked checkbox can either mean "no", or "not answered". If you need to tell the difference, use a dropdown list with the values "Yes" and "No".
 
Checkbox List
Checkbox List
Presents a list of options which allows a user to select zero, one, or more of the options.
 
Checkbox List With Headings
Checkbox List With Headings
This allows you to show a checkbox list that is split into multiple sections.
 
Country Dropdown
Country Dropdown
Presents a dropdown list that is automatically populated with a list of all countries.
 
Current User Email Address
Current User Email Address
If the user is logged on, this will be the Email Address of the currently logged in user. This will be read-only. If the user is not logged in, this will display as a Single Line Text box to allow the user to add their email address.
 
Current User Name
Current User Name
If the user is logged on, this will be the Name of the currently logged in user. This will be read-only. If the user is not logged in, this will display as a Single Line Text box to allow the user to add their name.
 
Date
Date
Allows a user to enter a date into a text box in the format 'dd/mm/yyyy'. The label is suffixed with '(dd/mm/yyyy)'.
 
Date Picker
Date Picker
This outputs an input based on two dropdowns (Day, Month) and a text box or dropdown for year.
 
Date/Time
Date/Time
A date picker followed by two boxes for hours and minutes.
 
Dropdown
Dropdown
Displays a dropdown list that allows the user to pick one option from a list of possible answers.
 
Duplicate Text Entry
Duplicate Text Entry
Displays two single line text boxes, one above the other. The content of the second box must match what was entered in the first box.
 
Email Address
Email Address
Displays a single-line text box for the user to type in their email address. This will be validated to ensure that it is in the correct format. Note that it does not guarantee a valid, working, email address - just that it is in the correct format.
 
File
File
Allows a user to select a file which will be uploaded when the form is submitted. If the form is emailed, the file will be attached to the email. If the form is saved into the database, the file is discarded. Note that no virus protection is carried out - it is your responsibility to scan incoming emails for viruses. You can optionally save the file to a resource gallery, restrict it to a maximum size, and if the file is a JPG image, scale it.
 
Gift Aid Checkbox
Gift Aid Checkbox
This displays a checkbox to allow a visitor to declare that they wish the website to claim Gift Aid on his or her donation. It uses JavaScript linked to the donation amount box to immediately show the visitor the amount of Gift Aid that will be claimed on his donation.
 
Hidden Value
Hidden Value
Submits a value with the form that the user never sees.
 
Multi Line Text
Multi Line Text
A large text box which allows users to enter multiple lines of text.
 
Number
Number
A Single Line Text box which will only allow users to enter numeric values. (Note that a numeric value may include a decimal point and must not contain spaces or commas. So the following are valid: 1; 2.3; 231.234. The following are not valid: 1,000; 100 000; 0113 2507799)
 
Number Total
Number Total
Displays a box that automatically works out the total of all 'Number' input boxes on the form.
 
Password
Password
Displays two single line text boxes, one above the other. The content of the second box must match what was entered in the first box. The value that the user types is represented by password-style characters.
 
Posting Content
Posting Content
This acts as a placeholder which lets you add rich content to the middle of the form. The content is maintained in a seperate posting, so you can add rich text, images, links, and formatting to the content. The content of the posting is displayed in position on the form. When you add an input of this type and view the form in unpublished mode, the form displays instructions that you can follow to correctly set up your form content.
Note: this is display-only - nothing is submitted with the form
 
Posting Content (Submitted)
Posting Content (Submitted)
This is exactly the same as 'Posting Content', but the display name of the posting that you create to hold the placeholder content is submitted along with the submitted form values.
 
Radio Button Grid Heading
Radio Button Grid Heading
Defines the question of a grid-style survey and the allowed answers that you expect the user to choose from. You then add any number of Radio Button Grid Rows underneath to allow a user to easily answer a number of questions all with the same possible answers.
 
Radio Button Grid Row
Radio Button Grid Row
Allows you to define a sub-question of a survey that was started by using a Radio Button Grid Heading form item.
 
Radio Buttons
Radio Buttons
Displays a list of radio buttons that allow the user to pick one option from a list of possible answers.
 
Recipient Selector
Recipient Selector
Displays a dropdown of options that you can define. The option that the user selects will determine the email address that the form is submitted to. The user never sees the actual email address.
 
Reference Number
Reference Number
If you add a Reference Number item to your form, the question is not displayed. Instead, a unique reference number is generated when the form is submitted. The number is displayed to the user when they submit the form, and is submitted along with the other form values. You can define the format of the number.
 
Repeating Section Start/Repeating Section End
Repeating Section Start/Repeating Section End
Allows you to define the start and end of a section of questions which repeats a number of times in a tabular format. All form items between the start and the end item are repeated in a grid format.
 
Section Heading
Section Heading
You can split a form into sections using Section Headings. A section heading is displayed as a title within your form. If your site's design supports multi-paged forms, a section heading defines a new page of the form.
 
Selection With Detail
Selection With Detail
Presents a dropdown list of selectable values. When a user selects certain values, they are presented with a suplimentary question which they can answer by typing into a text box.
 
Single Line Text
Single Line Text
Displays a text box which allows a user to enter text on a single line.
 
Text Or Dropdown
Text Or Dropdown
Presents a dropdown that contains a list of optional values alongside a text box. The user can select a value from the dropdown or type a value into the text box.
 
Text or Radio Buttons
Text or Radio Buttons
Presents a list of radio buttons that allow the user to select one of multiple options alongside a text box. The user can select a value from the dropdown or type a value into the text box.
 
Text Paragraph
Text Paragraph
A read-only paragraph of text
 
Time
Time
Displays two boxes for hours and minutes
 
User Property: xxx
User Property: xxx
If there is a user signed into your website, these input types display as controls that are pre-filled with the associated value from the user's profile. Using other settings on the form, these values can be used to update the user's profile every time he or she submits the form.
 
 
 

Cookies are used by nearly every website to improve your web browsing experience. Recent government legislation (the e-Privacy Directive) means that we are obliged to seek your agreement to the use of cookies when you visit our website. Two of the cookies that we use are essential for this website to operate and have already been set. You may delete and block all cookies from this site, but if you do so, parts of the site will not work. To find out more about the cookies that we use, please see our privacy policy.