I have placed a form with a text-input and submit button on a page and it all worked.
Then I have added a second form with another text-input and a submit button on the same page. When I click on the second textfield to enter a value, the form is submitted on the "onfocus" event. The methods are: void onSelectedFromAddCategory() and void onSelectedFromAddValue() The HTML: <div class="newCategory"> <form t:type="Form" > <div class="newCategoryFields"> <span class="heading">New category:</span><span> <t:textfield value="categoryName"/></span> <span><t:submit t:id="addCategory"/></span> </div> </form> </div> <div class="newCategory"> <form t:type="Form" > <div class="newCategoryFields"> <span class="heading">New value:</span><span><t:textfield value="valueName"/></span> <span><t:submit t:id="addValue"/></span> </div> </form> </div> Why does this happen? Thanks! Toby --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]