It’s working fine here:
https://conditional-fields-cf7.bdwm.be/clear_on_hide/
Could you guys share a link?
Hi Jules,
If Class attribute is added to Checkbox, it won’t clear.
eg. https://www.rococo.salon/test16082018/
P.S. Great plugin, can’t wait for Pro version!
BTW, email will pick up these selections in “hidden” Group. So, it’s not clearing checkboxes with class, IMO…
In my case (styling label element), CSS was the problem!
<BAD>
.example-class input {
display: none;
}
<FIX>
.example-class input {
position: relative;
z-index: -9999;
}
However, now, those Groups with “clear_on_hide” won’t apear in email…
Now, email is not picking up Groups with “clear_on_hide”. Here is a simple test without any class/id. If I remove “clear_on_hide”, email picks up ok! Help!
[checkbox* checkbox-0 exclusive “Option 1” “Option 2”]
[group group-A clear_on_hide]
[checkbox* checkbox-1 “a” “b” “c”]
[/group]
[group group-B clear_on_hide]
[checkbox* checkbox-2 “d” “e” “f”]
[/group]
[submit “Send Email”]
Message Body is:
[checkbox-1]
[checkbox-2]
-
This reply was modified 7 years, 9 months ago by
masugata.
-
This reply was modified 7 years, 9 months ago by
masugata.
So why don’t you just remove clear_on_hide?
I have updated the example here: https://conditional-fields-cf7.bdwm.be/clear_on_hide/ (Press the send button to preview the mail message. It is working exactly as I designed it. We might have a misunderstanding about the functionality you expect though.)
ok, then delete this Topic! no point confusing other users!
I can’t delete topics. only moderators can do that. I’m interested in learning what you expected from the clear_on_hide option though.. could you explain why you used it in the first place?
In my opinion you would almost never need this option, but there were some people that insisted on adding the option because they didn’t want to have the information in hidden groups being processed by the server side script in any way.
This is what I (surely many people) waiting for!
I manamged this to work. In “Mail”. CF7 is text format sensitive, I kept all [group-1]xxx[/group-1] in 1 line, all fixed.
Thank you, Jules!
You’re welcome! Feel free to leave a review