Hi, how do I make the 'accepts' function of a form update some other part of a form? I can do it with a specific button, but want the validation provided by the 'accepts' function too....
In View: <br/><br/> {{=searchForm}} <br/><br/> {{=DIV(_id='searchResults')} In controller: if searchForm.accepts(request.vars, formname='search'): ajax('performSearch', ['raisedBefore'], 'searchResults') # doesn't work because ajax is not defined...