jFormer Documentation

Advanced Fields

Address, Date, HTML, Likert, Name

Address

JFormComponentAddress(String id, String label[, Array optionArray])

The Address field allows for both United States and international addresses. Fields within the Address component include two street address lines, city or region, state or province, zip or postal code, and country.

Date

JFormComponentDate(String id, String label[, Array optionArray])

The Date field allows users to enter a specific date by text entry or by choosing it using a pop up calendar.

HTML

JFormComponentHtml(String html)

The HTML component allows you to insert HTML anywhere in your form.

Likert

JFormComponentLikert(String id, String label, Array choiceArray, Array statementArray[, Array optionArray])

The Likert field is a grouping of multiple choice options displayed in grid format. Likerts are ideal for quickly evaluating several statements with the same answer set (e.g., Strongly Disagree to Strongly Agree).

Name

JFormComponentName(String id, String label[, Array optionArray])

The Name field allows users to enter in their first and last name, with the middle initial being optional.

Next Section: Form Features