fixed client side validation for accordion forms