<link rel="stylesheet" type="text/css" href="../summary.css"/> 
<div class="container">
<div class="obj-property">
    <a href="w2form.action">action</a> <span>- action(action, [event])</span>
</div>
<div class="obj-property-desc">
    Called when user clicks form's button.
</div>

<div class="obj-property">
    <a href="w2form.clear">clear</a> <span>- clear()</span>
</div>
<div class="obj-property-desc">
    Resets the form.
</div>

<div class="obj-property">
    <a href="w2form.error">error</a> <span>- error(msg)</span>
</div>
<div class="obj-property-desc">
    Display error message.
</div>

<div class="obj-property">
    <a href="w2form.generateHTML">generateHTML</a> <span>- generateHTML()</span>
</div>
<div class="obj-property-desc">
    Generate HTML template for simple forms (Internal method).
</div>

<div class="obj-property">
    <a href="w2form.get">get</a> <span>- get([field], [returnIndex])</span>
</div>
<div class="obj-property-desc">
    Finds and returns the field object or its index.
</div>

<div class="obj-property">
    <a href="w2form.getChanges">getChanges</a> <span>- getChanges()</span>
</div>
<div class="obj-property-desc">
    Compares current record object to original and returns difference.
</div>

<div class="obj-property">
    <a href="w2form.goto">goto</a> <span>- goto(page)</span>
</div>
<div class="obj-property-desc">
    Opens specified form page.
</div>

<div class="obj-property">
    <a href="w2form.lock">lock</a> <span>- lock(message, [showSpinner])</span>
</div>
<div class="obj-property-desc">
    Locks the form and displays a status message.
</div>

<div class="obj-property">
    <a href="w2form.reload">reload</a> <span>- reload([callBack])</span>
</div>
<div class="obj-property-desc">
    Reloads record data and refreshes the form.
</div>

<div class="obj-property">
    <a href="w2form.request">request</a> <span>- request([postData], [callBack])</span>
</div>
<div class="obj-property-desc">
    Reloads record data and refreshes the form.
</div>

<div class="obj-property">
    <a href="w2form.save">save</a> <span>- save([postData], [callBack])</span>
</div>
<div class="obj-property-desc">
    Submits record data to remote data source for saving.
</div>

<div class="obj-property">
    <a href="w2form.set">set</a> <span>- set(field, obj)</span>
</div>
<div class="obj-property-desc">
    Extends field object with <span class="argument">obj</span>.
</div>

<div class="obj-property">
    <a href="w2form.submit">submit</a> <span>- submit([postData], [callBack])</span>
</div>
<div class="obj-property-desc">
    Submits record data to remote data source for saving.
</div>

<div class="obj-property">
    <a href="w2form.unlock">unlock</a> <span>- unlock()</span>
</div>
<div class="obj-property-desc">
    Unlocks the form.
</div>

<div class="obj-property">
    <a href="w2form.validate">validate</a> <span>- validate([showErrors])</span>
</div>
<div class="obj-property-desc">
    Performs form validation.
</div>

</div>