<wtui:form/>
The tag for WTUI.Form
Example:
<wtui:form id="exampleid"> <wtui:formfield> <wtui:label text="field label"/> <wtui:control type="WTUI.PlainText"/> </wtui:formfield> </wtui:form>
- Parameters:
-
id <String>(optional) The id of the drop down control -
type <String>(optional) A WebTemplate node type to create the form from -
cmd <String>(optional) If cmd is specified, a hidden input field with name "cmd" will be added -
call <object>(String) (optional) If call is specified, this function will be called on the server -
hassubmitbutton <String>(optional) set to yes or no -
submitbuttontext <String>the text to use for the submit button -
hascancelbutton <String>(optional) set to yes or no -
cancelbuttontext <String>the text to use for the cancel button -
onsubmit <Function> -
oncancel <Function> -
onsuccess <Function>