This is a child of the FormContent class to provide a 'standard' look and feel for forms.
It also enables a confirmation 'page' by default.
Located in Program_Root/form/StandardFormContent.inc (line 26)
FormContent | --StandardFormContent
Class | Description |
---|---|
Step1 | A simple Page Layout object child. |
Step2 | This is a child of the FormContent class to provide a 'standard' look and feel for forms. |
Step3 | This is a child of the FormContent class to provide a 'standard' look and feel for forms. |
StandardAccountForm | A simple Page Layout object child. |
The title used in the wrapping table
the InfoTable wrapper that holds all fields.
Inherited from FormContent
FormContent::$_action_counter
FormContent::$_action_message
FormContent::$_cancel_action
FormContent::$_default_label_css
FormContent::$_elements
FormContent::$_error_label_css
FormContent::$_form_errors_title
FormContent::$_form_errors_width
FormContent::$_form_name
FormContent::$_has_confirm
FormContent::$_hidden_elements
FormContent::$_required_field_marker
FormContent::$_required_field_text
FormContent::$_stripslashes
FormContent::$_width
This function is used to add a block of form fields inside a table to this form.
This table will automatically get wrapped inside a fieldset with a legend tag to label the block
- the title for the fieldset
- the form fields inside a table
this builds a fieldset and legend and adds the form table to it.
- the legend string
- the form fields in a table
This method is responsible for handling the confirmation page's Confirm action.
this builds the main wrapper for the form fields and ads the Save and Cancel buttons
- the form data
- the form error fields (if any)
This method handles the form action.
This function is used to show an intermediary confirmation page. Use this function to show a confirmation of the data that was submitted by the user.
This will get called after all of the form data was successfully validated. All of the form data will automatically be created as hidden form fields. All you have to do is show the data, and a confirm submit button.
- the title for the table
- show the action buttons?
Child class MUST override this to provide the form fields
This function is used to build the standard buttons for a form.
this method sets the form title which is used to wrap the entire form
- the form title
Inherited From FormContent
FormContent::FormContent()
FormContent::add_action()
FormContent::add_cancel()
FormContent::add_element()
FormContent::add_error()
FormContent::add_hidden_action()
FormContent::add_hidden_element()
FormContent::add_image_action()
FormContent::build_confirm_table()
FormContent::element_form()
FormContent::element_label()
FormContent::form()
FormContent::form_action()
FormContent::form_backend_validation()
FormContent::form_confirm()
FormContent::form_errors()
FormContent::form_init_data()
FormContent::form_init_elements()
FormContent::form_success()
FormContent::get_action()
FormContent::get_default_css()
FormContent::get_element()
FormContent::get_element_value()
FormContent::get_error_array()
FormContent::get_form_errors_width()
FormContent::get_hidden_element_value()
FormContent::get_required_fields_text()
FormContent::has_confirm()
FormContent::hidden_element_label()
FormContent::javascript()
FormContent::pre_confirm()
FormContent::set_action()
FormContent::set_action_message()
FormContent::set_cancel_action()
FormContent::set_confirm()
FormContent::set_default_css()
FormContent::set_element_value()
FormContent::set_error_css()
FormContent::set_form_errors_title()
FormContent::set_form_errors_width()
FormContent::set_form_name()
FormContent::set_form_width()
FormContent::set_hidden_element_value()
FormContent::set_required_marker()
FormContent::set_required_text()
FormContent::set_stripslashes()
FormContent::_test_element()
Documention generated on Thu, 31 Jul 2003 18:33:00 -0700 by phpDocumentor 1.2.0