ideaconsult / Toxtree.js

http://ideaconsult.github.io/Toxtree.js/
2 stars 3 forks source link

Create assessment not working if some of the fields are hidden #160

Closed vedina closed 8 years ago

vedina commented 8 years ago

In the current profile some fields are hidden, due to client request. This caused no problem with the Create new assesment form before, but apparently due to new validation it gives errors and prevents from adding new assessments.

invalid form control with name='license' is not focusable.
assessment:1 An invalid form control with name='rightsHolder' is not focusable.

image

As a workaround, just removing the required tags for license and rightsHolder could be ok, the server will sets default values.

cc @thejonan