CS Forms Conditional Logic (Addon)
Front-end conditional show/hide logic for Cornerstone Forms fields via visual controls.
by Tarek AlGhorani · github.com/tarek-g/cs-forms-conditional-logic · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tarek-g/cs-forms-conditional-logic/archive/refs/heads/main.zipFrom the readme
CS Forms Conditional Logic (Addon)
Frontend conditional logic (show/hide) for Cornerstone Forms fields.
Scope
Supported element types:
- cornerstone-form-input
- cornerstone-form-textarea
- cornerstone-form-select
- cornerstone-form-checkbox-list
- cornerstone-form-dropzone
- cornerstone-form-flatpickr
License
GPL-2.0-or-later
Behavior Notes
- Rules use source field name only. Do not use DC syntax.
- Comparison is string-based.
- Hidden targets are:
- force-hidden on frontend,
- disabled before submit,
- excluded from validation pass.
- Works in both builder preview and published pages.
Current Limits
- Captcha elements (reCAPTCHA/hCaptcha/Turnstile) are fully usable in forms, but are not supported as conditional-logic targets in this addon version.
- Third-party custom elements are unsupported unless they follow standard name flow.