You are in Home page » Products » Opensource » WebGUI » SQLEdit W(eb)Object » Template for fields

Soluzione integrata di telefonia su internet a banda larga.
Search on this site:  

Are you interested to be updated about all things happens to me day by day?
Visit my new blog

Template for fields

These variables can be used in the template that defines graphical layout of single field. This template is not used if the global template of SQLEdit element don't use the <TMPL_VAR name="form.fields.template"> but the <TMPL_LOOP name="fields_loop"> loop to render form fields.

field.adminTools
The parameter that create the images and links required to edit column field. It is not null only if user can edit page.

field.form
The html code which build the form field.

field.iseditable
It's TRUE only if the field is editable.

field.ishidden
It's TRUE only if the field is hidden.

field.isidentity
It's TRUE only if the field is an identity field (a.k.a. auto_increment)

field.isrequired
It's TRUE only if the field is required.

field.isvisible
It's TRUE only if the field is visibile.

field.iswrong
It's TRUE only if the field is required but users don't have set a value for it.

field.label
The label for the field

field.name
The column name of the field.

JavaScript Menu Courtesy of Milonic.com







Comments
Leave a comment

Names and emails are required (emails aren't displayed), url is optional. Comments will be submitted to moderation.

Tags available are: <A>, <STRONG>, <B>, <EM>

1.vivek wrote on 2011-11-15 11:21:54

good one

 Copyright© 1997-2006 Emiliano Bruni Online from 16/08/1998 with visitors Write me to: