Form reset after successful form submission

hi,

what’s the way to reset the form generated by the form_remote_tag
after the successful submission of the form?

thanks

On Wed, Dec 28, 2005 at 11:09:18PM +0100, olivier Hericord wrote:

what’s the way to reset the form generated by the form_remote_tag
after the successful submission of the form?

You typed out all the words in your email. You just have to turn it into
code
now.

form_remote_tag :url => …, :html => {:id => ‘my_form’}, :success =>
“Form.reset(‘my_form’)”

marcel

thanks