ryanb / nested_form

Rails plugin to conveniently handle multiple models in a single form.
MIT License
1.79k stars 505 forks source link

Submit remain disabled when remove field with error. #236

Closed DSushil20 closed 11 years ago

DSushil20 commented 11 years ago

When form validations are on and validation error come up with some field; submit is obviously disabled in this case. But there is no way to enable the submit button when user removes the field with error. Submit button should be auto enabled when there are no fields with errors left.

Please let me know if their is any other way to do this. Thanks !!

lest commented 11 years ago

This is not a nested_form issue as nested_form doesn't disable/enable submit buttons. I guess javascript events might help you.