I have a form, which when submitted updates certain page elements
using RJS. Within the form, I have a few text fields, which I would
like to clear upon submission. Can someone tell me what I would need
to do to do this?
eggman2001 wrote:
I have a form, which when submitted updates certain page elements
using RJS. Within the form, I have a few text fields, which I would
like to clear upon submission. Can someone tell me what I would need
to do to do this?
Provide id’s to the forms you would like to clear and then just call
them out in your rjs
page[‘form_field_id’].replace_html “”
hth
ilan