Detailed Description

Form Builder Vocabulary - FBV Generates form markup in templates using {fbvX} calls. Group form areas with the {fbvFormArea} call. These sections mark off groups of semantically related form sections. Parameters: id: The form area ID class (optional): Any additional classes title (optional): Title of the area Group form sections with the {fbvFormSection} call. These sections organize directly related form elements. Parameters: id: The section ID class (optional): Any additional classes title (optional): Title of the area Form submit/cancel buttons should be created with {fbvFormButtons} Parameters: submitText (optional): Text to display for the submit link (default is 'Ok') submitDisabled (optional): Whether the submit button should be disabled confirmSubmit (optional): Text to display in a confirmation dialog that must be okayed before the form is submitted cancelText (optional): Text to display for the cancel link (default is 'Cancel') hideCancel (optional): Whether the submit button should be disabled confirmCancel (optional): Text to display in cancel button's confirmation dialog cancelAction (optional): A LinkAction object to execute when cancel is clicked cancelUrl (optional): URL to redirect to when cancel is clicked Form elements are created with {fbvElement type="type"} plus any additional parameters. Each specific element type may have other additional attributes (see their method comments) Parameters: type: The form element type (one of the cases in the smartyFBVElement method) id: The element ID class (optional): Any additional classes required (optional) whether the section should have a 'required' label (adds span.required) for (optional): What the section's label is for inline: Adds .inline to the element's parent container and causes it to display inline with other elements size: One of $fbvStyles.size.SMALL (adds .quarter to element's parent container) or $fbvStyles.size.MEDIUM (adds .half to element's parentcontainer) required: Adds an asterisk and a .required class to the element's label

The documentation for this class was generated from the following file: