jFormer Documentation → Basic Fields →
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.
new JFormComponentHidden(String id, String value[, Array optionArray])
Create a hidden component:
$hidden = new JFormComponentHidden('id', 'value');
String
.jFormComponentHidden
These options are common to all components.
null
HTML | a description for the component, shows underneath the component inside a DIV with the class jFormComponenpescription.
null
Array, [max(int), addButtonText(string), removeButtonText(text)] | see instanceOptions page for more information.
null
Array, [dependentOn(string), display(string), jsFunction(Javascript)[, animationOptions(array)]] | see dependencyOptions page for more information.
null
HTML | a tooltip that displays whenever the component has focus. Gives any extra help or explanation a form user might need.
null
Array | an of validations specific to the component, see the specific component for its validations.
false
Boolean | this option makes the error tip only show up on the first focus on the component if it does not pass validation.
false
Boolean | if true pressing enter while this component has focus submits the form, or advances to the next page.
null
CSS | set the style attribute for the component wrapper div.
null
String | preset the value of the component upon form loading.
Next Page: Multiple Choice
This page was last edited on April 11, 2011 at 11:50am.
0 comments (add a comment)