scottsds/otwarchive — pull request #12 by ariana-paris (2014-05-10 16:27:36+00:00)
Title: Remove validation for hidden forms

This seems to resolve the problem of LiveValidation kicking in for hidden empty forms.

It works by iterating through all the required input and textarea elements in the hidden section, guessing at the name of the corresponding LiveValidation object, and disabling it. It relies on the LiveValidation object having the name 'validation_for_' (which is configured in validation_helper.rb).