...
Category | Used with | Routine | Return value |
---|---|---|---|
Single value fields | TEXT, TEXT_AREA, SELECT_LIST, RADIO_GROUP, SINGLE_CHECKBOX(optional) | BA_getSingleValue(argv, label) | String representing the value entered or the selected option for the given label. For checkbox it will return "checked" if the checkbox was selected or an empty string otherwise. |
Multi value fields | MULTI_SELECT_LIST, CHECKBOX_GROUP | BA_getMultiValues(argv, label) | String array representing the selected options. |
FILE_UPLOAD (since v. 2.5) | String array containing pairs of original filename and uploaded path. Even indices will contain original filenames, while odd indices will contain uploaded path. See Examples for usage. | ||
Checkbox | SINGLE_CHECKBOX | BA_isChecked(argv, label) | Convenience method for checking whether a checkbox is selected or not. Returns a boolean: true if the box was checked, false otherwise. |
...