Form Element

Templating System : API Reference

Summary

Methods

template::element create form_name element_name \
                        -widget widget \
                        -datatype datatype \
                        -html { attribute value attribute value ... } \
                        -validate { \
                          name { expression } { message } \
                          name { expression } { message } \
                          ... } \
                        -options { { label value } { label value } ... } \
                        -maxlength maxlength \
                        -value value \
                        -values { value value ... }
                        

Append a new element to the specified form.

template::element set_properties form_name element_name
                                 

template::element get_value form_name element_name

Example



template::element get_values form_name element_name

Note(s)


templating@arsdigita.com