pwkip / contact-form-7-conditional-fields

Wordpress Plugin: Contact Form 7 Conditional Fields
http://bdwm.be/wpcf7cf
22 stars 18 forks source link

[PRO] conditions should work when referencing a field inside a disable_on_hide group #105

Open pwkip opened 1 year ago

pwkip commented 1 year ago
[radio r "1" "2" "3"]
[group g1 disable_on_hide][text* t][/group]
[group g2 disable_on_hide][text* t][/group]
[group g3 disable_on_hide][text* t][/group]
[group g4]Text is Hi[/group]
show [g1] if [r] equals "1"
show [g2] if [r] equals "2"
show [g3] if [r] equals "3"
show [g4] if [t] equals "Hi"

This rule should work: show [g4] if [t] equals "Hi"

pwkip commented 1 year ago

This works already, but needs integration test.