Form Builder‎ > ‎Form Fields‎ > ‎Custom Fields‎ > ‎

Open Questions


The Open Questions category specifies the first set of form field types. They allow users to enter their own response in the text fields on the action form.

Specify Open Question Type
  1. Click on the Type drop down box.

  2. Then select a field type from the Open Questions category. The Open Questions Types are selected on Figure 1.
Figure 1: Displays Open Questions Field Types



Small Text 

The Small Text type is the first type in the Open Questions category of the Type drop down box. On Figure 1 they are the first two types selected. The Small Text type allows users to enter strings, alphanumeric text and numbers into a text field. However, users can only enter a short text, for example a first name or last name. You can extend the width of the small text field to accommodate long text by using the Control CSS Styles Field Property in UI Settings.

    Small Text Type Example
  1. In Figure 1, "First Name" and  "Last Name" is entered for the Title fields.

  2. Then in the Type drop down box Small Text is selected to specify that the text field requires a short text.

  3. On the action form, identified on Figure 2, the user enters "John" for the First Name and "Doe" for the Last Name.   
Figure 2: Displays Small Text Field



Username 

The Username type allows users to enter their username into the form text field. Users can enter letters, numbers or symbols for their username. The username can also be a combination of strings, numbers and symbols. It is also used for user login and user registration features.

    Username Type Example
  1. In Figure 1, "UserName" is entered for the Title field to specify that a user name is required.

  2. Then in the Type drop down box, Username is selected to specify that the text field requires a username.

  3. On the action form, identified on Figure 2A, the user enters johndoe101$ for the user name.

   Figure 2A: Displays Username Field


Password

There are two password types, Password and Password(with confirmation). Password allows the user to enter their password into a single text field. Password(with confirmation) on the other hand allows the user to enter their password twice for confirmation.

Password Type

Password type allows you to insert a password encrypted text field on the action form. It is a secured field, therefore when users enter their password it gets encrypted and is replaced with a series of dots.

    Password Type Example
  1. In Figure 3, "Password" is entered for the Title text field.

  2. Then in the Type drop down box, Password is selected to specify that the text field requires a password.

  3. On the action form, identified on Figure 3A, the user enters their password. Notice the encrypted password identified with the blue arrow.
Figure 3: Identifies Password Type


  
Figure 3A: Displays Encrypted Password


    Password (with Confirmation) Type

The Password (with confirmation) type inserts two password text fields onto the action form. The text fields are encrypted, therefore when the user enters their password it is replaced with a series of dots. Notice the encrypted passwords displayed on Figure 4.

When the user enters their password in both fields, they are compared to determine if they match. If the passwords match, the user is able to continue, but if they do not match the form returns a "password does not match" error message and is required to reenter their password.

    Password (with confirmation) Type Example
  1. In Figure 1, "Login Password" is entered for the Title field.

  2. Then in the Type drop down box, Password(with confirmation) is selected to specify that the text field requires a confirmation password.

  3. On the action form the user enters two different passwords, therefore the form returns the "password does not match" error message, identified on Figure 4. Notice that the passwords are encrypted.
    
Figure 4: Displays Password (with confirmation) error message


Email

The Email type allows users to enter valid email addresses into the email text fields on the action form.  The user should enter for example, myname101@live.com as their email address. If the user enters a different format, the form returns the "invalid email" error message. To ensure users enter valid email addresses write a short description to specify the correct email format.  You can write a short description in the Short Desc field in General settings.
    Email Type Example
  1. In Figure 1, "Email" is entered for the Title field.

  2. Then in the Type drop down box,  Email is selected  to specify that the text field requires an email address.

  3. On the action form the user enters myname101, identified in Figure 4A. Since this is an invalid email format the form returns the "invalid email" error message.
   
Figure 4A: Displays Email Field


Number

The Number type allows users to enter whole numbers ONLY. No decimals, letters or symbols are allowed in this field. If the user enters letters, decimals or symbols the form returns "invalid number". To help users enter the correct format, write a short description in the Short Desc. field in General settings. You should also enter an appropriate Title for a number text field.

    Number Type Example
  1. In Figure 1, "Phone" is entered for the Title field.

  2. Then in the Type drop down box, Number is selected to specify that the field requires number only. 

  3. On the action form, identified in Figure 5, the user enters john8.4%#$ for their phone number. This is not a valid number therefore the form returns "invalid number".
Figure 5: Displays Number Field

Large Text

The Large Text type allows users to enter extended text into the form text field. The text box for this field is larger and accommodates more text than the Small Text field. If necessary, users can resize the Large Text field. Similar to the Small Text field, users can enter alphanumeric text, numbers and strings. This option allows users to enter for example Messages and Comments, as well as long Company names.


    Large Text Type Example
  1. In Figure 1, "Company" is entered for the Title text field.

  2. Then in the Type drop down box, Large Text is selected to specify that the text box accepts extended text.

  3. On the action form, identified in Figure 6, the user enters Thermodynamics and Aeronautics of South Florida for the company name. If the Small Text type was used, the extended company name would not fit.
Figure 6: Identifies Large Text Field


Rich Text Editor

The Rich Text Editor type allows you to insert the Rich Text Editor on the action form. Users are able to format text, customize layout and appearance with the menu toolbar provided in the Rich Text Editor. The menu tool bar is identified with the green arrow in Figure 7. It allows users to apply for example CSS and Paragraph styles, Text formatting, Spellchecker and insert links. The Rich Text Editor is the default text editor configured in DotNetNuke.

    Rich Text Editor Type Example
  1. In Figure 1, "Send Message" is entered for the Title text field.

  2. Then in the Type drop down box, Rich Text Editor is selected to specify that the text field allows the user to customize and format their message.

  3. The Rich Text Editor is inserted on the action form and is displayed in Figure 7.
   
Figure 7: Displays Rich Text Editor

Comments