jFormer DocumentationjFormer Structure

jFormSection

JFormSection(String id, [, Array optionArray])

The jFormSection object Holds the JFormComponents Object Array, and is an organizational wrapper .

Usage

Constructor

    new JFormSection(String id, [, Array optionArray])

Sample Usage

Create a simple page with a title and description:

    $sampleSection = new JFormSection('id', array(
        'title' => '

Sample Usage Object

', 'description' => '

Sample Description.

' ));

jFormSection Options

These options are specific to the JFormSection object.

null

title

HTML | a title for the page, shows up at the top of the page inside a DIV with the class jFormPageTitle.

null

description

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

instanceOptions

Array, [max(int), addButtonText(string), removeButtonText(text)] | see instanceOptions page for more information.

null

dependencyOptions

Array, [dependentOn(string), display(string), jsFunction(Javascript)[, animationOptions(array)]] | see dependencyOptions page for more information.

jFormSection Methods

These Methods are specific to the JFormPage object.

NameArgumentsDescription

Next Page: jFormComponent

This page was last edited on April 19, 2011 at 6:41pm.

1 comment (add a comment)

JasonE on 2012-03-29 16:16:51

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?