Problem with form module
Posted: Fri Jul 06, 2007 4:54 pm
Hello,
I made a new form, http://www.debonteos.be/web/index.php?page=reserveren
I copied the template from the sample. I get the template in my mailbox instead of the filed in fields.
This is what I get in my mailbox:
input} )
Each field has the following attributes:
field->display = 1 if the field should be displayed, 0 otherwise
field->required = 1 if the field is required, 0 otherwise
field->required_symbol = the symbol for required fields
field->css_class = the CSS class specified for this field
field->valid = 1 if this field has passed validation, 0 otherwise
field->hide_name = 1 if the field name should be hidden, 0 otherwise
field->has_label = 1 if the field type has a label
field->needs_div = 1 if the field needs to be wrapped in a DIV (or table row,
if that's the way you swing)
field->name = the field's name
field->input = the field's input control (e.g., the input field itself)
field->input_id = the ID of the field's input (useful for )
field->type = the field's data type:
field->multiple_parts = 1 if the field->input is actually a collection of controls
field->label_parts = 1 if the collection of controls has separate labels for each
control
In certain cases, field->input is actually an array of objects rather than an input. This
happens, for example, in CheckBoxGroups or RadioButtonGroups. For them, you
can iterate through field->input->name and field->input->inputs.
Additional smarty variables that you can use include:
{$total_pages} - number of pages for multi-page forms
{$this_page} - number fo the current page for multi-page forms
{$title_page_x_of_y} - displays "page x of y" for multi-page forms
{$css_class} - CSS Class for the form
{$form_name} - Form name
{$form_id} - Form database ID
{$prev} - "Back" button for multipart forms
Dunno why you'd want some of those, but there you go...
-->
Hope you can help
Thanks
I made a new form, http://www.debonteos.be/web/index.php?page=reserveren
I copied the template from the sample. I get the template in my mailbox instead of the filed in fields.
This is what I get in my mailbox:
input} )
Each field has the following attributes:
field->display = 1 if the field should be displayed, 0 otherwise
field->required = 1 if the field is required, 0 otherwise
field->required_symbol = the symbol for required fields
field->css_class = the CSS class specified for this field
field->valid = 1 if this field has passed validation, 0 otherwise
field->hide_name = 1 if the field name should be hidden, 0 otherwise
field->has_label = 1 if the field type has a label
field->needs_div = 1 if the field needs to be wrapped in a DIV (or table row,
if that's the way you swing)
field->name = the field's name
field->input = the field's input control (e.g., the input field itself)
field->input_id = the ID of the field's input (useful for )
field->type = the field's data type:
field->multiple_parts = 1 if the field->input is actually a collection of controls
field->label_parts = 1 if the collection of controls has separate labels for each
control
In certain cases, field->input is actually an array of objects rather than an input. This
happens, for example, in CheckBoxGroups or RadioButtonGroups. For them, you
can iterate through field->input->name and field->input->inputs.
Additional smarty variables that you can use include:
{$total_pages} - number of pages for multi-page forms
{$this_page} - number fo the current page for multi-page forms
{$title_page_x_of_y} - displays "page x of y" for multi-page forms
{$css_class} - CSS Class for the form
{$form_name} - Form name
{$form_id} - Form database ID
{$prev} - "Back" button for multipart forms
Dunno why you'd want some of those, but there you go...
-->
Hope you can help
Thanks