Dotclear


Version 1 (modified by Oaz, 14 years ago) (diff)

--

myForms reference : set of fields that can be part of a form

myformsTextField

  • <tpl:myformsTextField>...</tpl:myformsTextField>

Defines/display an input field of type 'text'. The content of the tag is the default value of the field.

AttributeUsageComments
namefield identifiermandatory
<any>each other attribute is set on the html 'input' tagoptional

myformsTextArea

  • <tpl:myformsTextArea>...</tpl:myformsTextArea>

Defines/display an input field of type 'textarea'. The content of the tag is the default value of the field.

AttributeUsageComments
namefield identifiermandatory
<any>each other attribute is set on the html 'textarea' tagoptional

myformsHiddenField

  • {{tpl:myformsHiddenField}}

Defines/display an input field of type 'hidden'.

AttributeUsageComments
namefield identifiermandatory
<any>each other attribute is set on the html 'input' tagoptional

myformsFileField

  • {{tpl:myformsFileField}}

Defines/display an input field of type 'file'.

AttributeUsageComments
namefield identifiermandatory
<any>each other attribute is set on the html 'input' tagoptional

myformsSubmit

  • <tpl:myformsSubmit>...</tpl:myformsSubmit>

Defines/display an input field of type 'submit'. The content of the tag is the default value of the field.

AttributeUsageComments
namefield identifiermandatory
<any>each other attribute is set on the html 'input' tagoptional

myformsFieldValue

  • {{tpl:myformsFieldValue}}

Display the field value.

AttributeUsageComments
namefield identifiermandatory

myformsFileFieldValue

  • {{tpl:myformsFileFieldValue}}

Display data of a {{tpl:myformsFileField}} corresponding to an uploaded file.

AttributeUsageComments
namefield identifiermandatory
datadata identifiermandatory. Shall be one of these : name, size, type, tmp_name, error

myformsFieldWarning

  • <tpl:myformsFieldWarning>...</tpl:myformsFieldWarning>

Validates a field input. When validation fails, the form is re-displayed instead of form processing. The content of the tag is a warning message that is displayed only when the validation fails.

AttributeUsageComments
namefield identifiermandatory
validateregular expression that should match the field valuemandatory

myformsAntispamField

  • {{tpl:myformsAntispamField}}

Display a set of input fields (image captcha and text input) for spam protection.
No attributes.

myformsAntispamWarning

  • <tpl:myformsAntispamWarning>...</tpl:myformsAntispamWarning>

Validates a captcha input. When validation fails, the form is re-displayed instead of form processing. The content of the tag is a warning message that is displayed only when the captcha validation fails.
No attributes.

Sites map