Skip to content

Commit

Permalink
Cap hidden field (aces#15)
Browse files Browse the repository at this point in the history
* new php parser

* parser updates

* parser bug fixes + unit tests

* fixed datediff

* new php parser

* parser updates

* parser bug fixes + unit tests

* fixed datediff

* datediff fix

* dated

* ?

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* handling Evaluator errors

* handles hidden fields
  • Loading branch information
ZainVirani authored and jacobpenny committed Aug 16, 2017
1 parent 8250c9b commit 286e1c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jsx/InstrumentForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const InstrumentForm = ({instrument, data, context, options, onUpdate, onSave})
if (options.surveyMode && element.HiddenSurvey) return false;
if (element.DisplayIf === false) return false;
if (element.DisplayIf === '') return true;
if (element.Hidden) return false;
try {
return Evaluator(element.DisplayIf, contextWithData);
} catch(e) {
Expand Down

0 comments on commit 286e1c4

Please sign in to comment.