Hi,
I'm suggesting to add conditionize.flexible.js - improved version of the plugin. Main differences:
No need of 2 or 3 attributes: <data-cond-option, data-cond-value[, data-cond-operator]>. conditionize.flexible.js uses only one attribute - data-condition.
Allow complex conditions. conditionize.flexible.js able to use complex conditions: two or more fields, or complex logic of a condition as "(A || B) && C".
Since they use different data attribute(s), I didn't replace conditionize.js for compatibility reasons. So, we can keep both versions.
Hi, I'm suggesting to add
conditionize.flexible.js
- improved version of the plugin. Main differences:conditionize.flexible.js
uses only one attribute - data-condition.conditionize.flexible.js
able to use complex conditions: two or more fields, or complex logic of a condition as "(A || B) && C".Since they use different data attribute(s), I didn't replace
conditionize.js
for compatibility reasons. So, we can keep both versions.