jFormer Documentation → jFormer Structure →
JFormSection(String id, [, Array optionArray])
The jFormSection object Holds the JFormComponents Object Array, and is an organizational wrapper .
new JFormSection(String id, [, Array optionArray])
Create a simple page with a title and description:
$sampleSection = new JFormSection('id', array(
'title' => 'Sample Usage Object
',
'description' => 'Sample Description.
'
));
These options are specific to the JFormSection object.
null
HTML | a title for the page, shows up at the top of the page inside a DIV with the class jFormPageTitle.
null
HTML | a description for the page, shows up at the top of the page under the title inside a DIV with the class jFormPageDescription.
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.
These Methods are specific to the JFormPage object.
| Name | Arguments | Description |
Next Page: jFormComponent
This page was last edited on April 19, 2011 at 6:41pm.
1 comment (add a comment)
I was not able to get the form to validate or submit when I placed sections in the former and then components within the sections. Is this a bug or am I doing this wrong?