2 <h2>Ajax Support - ObserverForm</h2>
\r
5 <div class="container">
\r
7 The same as ObserverField, but this one invokes the remote
\r
8 method whenever some value on the form changes.
\r
14 <div class="container">
\r
17 <li><code>public String ObserveForm(String formId, int frequency, String url, String idOfElementToBeUpdated, String with)</code></li>
\r
18 <li><code>public String ObserveForm(String formId, IDictionary options)</code></li>
\r
25 <div class="container">
\r
27 <a href="${siteRoot}/code/showCode.castle?file=Views/AjaxArea/observerform/index.vm">Check this view source code</a>.
\r
30 $Form.FormTag("%{noaction='true',id='mainform'}")
\r
32 Name: <input type="text" name="name" id="name"><br>
\r
33 Age: <input type="text" name="age" id="age"><br>
\r
37 <span id="message"></span>
\r
40 $AjaxHelperOld.ObserveForm("mainform", 3, "Validate.castle", "message", null)
\r