Facebook Pixel Elements of LDP Form Asset - OU Campus Self-Help at WKU | Western Kentucky University Skip to main content

LDP Form Elements


There are eight different form elements that you can use within your LDP Form. Some advanced options are also available to use with the elements listed below.

LDP Forms Overview    Advanced Options

 

Available Elements

  1. Single-Line Text Field
    • Will provide visitors with a single line text field in which to input data.
    • Can be marked as required.
    • Default text can be entered. It will be auto-populated when the form is shown.
    • Extra validation can be added, available types are listed below.
  2. Multi-Line Text Field
    • Will provide visitors with a text area block which will allow users to input much more data.
    • Can be marked as required.
    • Default text can be entered. It will be auto-populated when the form is shown.
    • Extra validation can be added, available types are listed below.
  3. Radio Buttons
    • Allow users to only select one of the listed radio buttons.
    • Default selection can be set.
  4. Checkboxes
    • Allows users to select any number of the checkboxes listed.
    • Default selection can be set.
  5. Drop-Down
    • Gives users a drop down selection area where they can choose one option.
    • Default selection can be set.
  6. Multi-Select
    • Gives users a multiple selection element. Will display all possible choices where users can select more than one answer.
    • The following will be displayed under your element, Hold down the CTRL key (Command ⌘ on Mac) to select multiple options.
    • Default selection can be set.
  7. Date/Time Picker
    • Provides users with the ability to select a calender date and/or time of day.
    • Multiple picker formats are available: date only, time only, or combined date and time.
    • Default date and/or time can be set.
  8. Instructional Text
    • Provides users with a mini WYSIWYG editor that allows for the configuration of text to be displayed in the form.
    • Unlike other elements in the form, this element does not submit any data.

 

Element Attributes

  • Required - Checking the box next to Required will make the element required. An error message will be displayed on the form during submission if the element is not filled out or nothing is selected. An additional Failure Message text field can be used to provide a custom error message.
  • Default Text - If text is inserted into the Default section for Single-Line Text or Multi-Line Text it will display in that element on the form. For Multi-Line Text elements, \n can be used to insert a new line break into the text the appears on the form. You can also select default value(s) for the Radio Buttons, Checkboxes, Drop-Down and Multi-Select element items, by selecting/checking the radio option/checkboxes next to each item.
  • Helper TextThe helper text provides text that will appear under the element in the form, and can be used to provide instructions to users on how to fill out that specific element.
  • Validation - Currently there are three validation options. If validation is selected and you want it required as well you must check the Required checkbox. You can insert an error message below the Validation to be displayed if the form is not filled out properly for that form.
    • EmailThis validates the text to ensure that the entry is formatted like an email address. When this is choosen, an additional Failure Text field can be used to provide a message when the input fails validation. E-mail addresses are validated for the @ sign and dot-something. This will not validate that it is a WKU email address.
    • Minimum LengthThis allows a number to be input to ensure that a minimum number of characters are included. When this is chosen, an additional Minimum Length field is used to specify the number and the Failure Text field can be used to provide a message when the input fails validation. The minimum length is entered here as a number and can be 2 or greater.
    • Regex This allows a regular expression (regex) to be input to ensure that the configuration of the input data is as desired. When this is chosen, an additional Validation Regex field is used to specify the regex and the Validation/Failure Text field can be used to provide a message when the input fails validation. For example, if the form requires the entry of the year of birth, it would be within the 1900s or 2000s. A regex that validates for this is: ^(19\d{2}|20[0-1]\d)$ Makes the Regex/Failure Text field available.  Below are some examples.
      • To validate a phone number with the following layout xxx-xxx-xxxx you would need to enter ^(\d){3}-(\d){3}-(\d){4}$
      • To validate for a WKU email address you can use the following: ^[A-Za-z0-9\.-]+@(topper.)?[wW][kK][uU].[eE][dD][uU]$
      • To validate for a WKUID (800 number) you can use the following: ^80(0|1)\d{6}$ you can also validate with the more generic ^\d{9}$ to allow any 9 digits (it will not validate 800/801 at the start of the input).
      • To validate a date with the following format MM/DD/YYYY you can use the following: ^([0-9]|0[0-9]|1[0-2])\/(0[0-9]|[1-2][0-9]|3[0-1])\/[0-9]{4}$
  • Advanced - Additional options for the element can be specified here. See the available advanced options here.
  • (top right of element pane) - Used to delete an entire element
  • (beside each element item option) - Used to delete a list option from a Radio Button, Checkbox, Drop-Down Selection or Multi-Select element.

 




Need Assistance?

The WKU ITS Service Desk is here to help. Give us a call, chat with a representative online, use the Self-Help Knowledge Base and more.

Get Help



Some of the links on this page may require additional software to view.

 Last Modified 10/22/18