Problem with form module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
cdk81

Problem with form module

Post by cdk81 »

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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: Problem with form module

Post by Nullig »

There is a button to create the email template in Formbuilder...

Open your form in Formbuilder
Click on the "Send to" field
Click on the "Advanced Settings" tab
Click on the "Create Sample Template" button
Click on the "Update" button

That should do it for you.

Nullig
cdk81

Re: Problem with form module

Post by cdk81 »

Nullig wrote: There is a button to create the email template in Formbuilder...

Open your form in Formbuilder
Click on the "Send to" field
Click on the "Advanced Settings" tab
Click on the "Create Sample Template" button
Click on the "Update" button

That should do it for you.

Nullig
That fixed the problem, next time I see you, I buy you a bottle champagne  ;D

Topic closed
Locked

Return to “Modules/Add-Ons”