Skip to content

v0.9.9

Choose a tag to compare

@guilamu guilamu released this 08 Mar 14:19
· 10 commits to main since this release
  • Fix: Frontend field visibility was broken — fields with IfOnly logic remained hidden even when the user selected matching values. Root cause: GF renders radio button choices inside a <ul id="input_FORMID_FIELDID"> container; getFieldValue() found this <ul> via getElementById and tried to read .value on it (which is undefined), so radio field values always evaluated as empty. Fixed by checking the element's tag name and only reading .value from actual form elements (input, select, textarea).
  • Fix: On initial page load, IfOnly fields could have the wrong visibility state because GF's conditional logic init script evaluates rules before the IfOnly filter is registered. A re-evaluation is now triggered immediately after filter registration.