Clear form field

Hi all,
I want to clear password field and confirm password field after
both are not match.currently both field cotain data after both are not
match.
Is there any way of doing this?.

Thanks
Prashant

Prashant K. wrote:

Hi all,
I want to clear password field and confirm password field after
both are not match.currently both field cotain data after both are not
match.
Is there any way of doing this?.

Thanks
Prashant

Hi all,
I got the answer:

  I used  :value=>""  in password field and confirm password field 

option.

Thanks
Prashant K.