Drop-Down, File, Hidden, Multiple Choice, Single Line Text, Text Area
JFormComponentDropDown(String id, String label, Array dropDownOptionArray[, Array optionArray])
The Drop-Down field presents choices to the user in a drop down list format. This is best used when there are many options to choose from, such as a list of states or countries.
JFormComponentFile(String id, String label[, Array optionArray])
The File field type allows users to select files from their computer to be uploaded on form submission.
JFormComponentHidden(String id, String value[, Array optionArray])
The Hidden field type is used by developers to store data necessary to process the form which is not visible to the user.
JFormComponentMultipleChoice(String id, String label, Array multipleChoiceArray[, Array optionArray])
The Multiple Choice field presents a list of choices to the user, allowing them to select one or more of the options depending on the Multiple Choice field type.
JFormComponentSingeLineText(String id, String label[, Array optionArray])
The Single Line Text field is a one line input field that accepts text. This form field is best used for short answer, free form questions such as, "What is your favorite animal?"
Almost all forms have a single line text component, so we put a lot of effort in making this component type as robust as possible.
JFormComponentTextArea(String id, String label[, Array optionArray])
The Text Area field is a multi-line input field that accepts text. This form field is best used for long answer, free form questions such as, "Can you describe the animal that attacked you?"
Next Section: Advanced Fields