I have just added a new radio button field (radio-16) to the step 2 form and the conditional fields do work with that.
They don’t work with the fields that are being pulled through from step one e.g. “bathrooms”, “bedrooms”, etc.
The code I’ve used is below:
[multiform bathrooms][multiform bedrooms][multiform hot-water-tank][multiform your-email]
[radio radio-16 default:1 “Show Radio1 Group” “Hide Radio1 Group”]
<label>showing label works</label>
[group radio1]<label>Radio 1</label> [/group]
[group onebath]<label>group onebath</label>[/group]
could you start by just sharing the link to the live form? I might be able to help without a login. Also, copy pasting your form code and conditions here would be helpful. make sure to place code between back ticks: `
Hi Jules, the form is on a development site that is only accessible when logged in. My email is [email protected] please could you email me and I’ll set up a login for you?
The form code is:
[multiform bathrooms][multiform bedrooms][multiform hot-water-tank][multiform your-email]
[radio radio-16 default:1 "Show Radio1 Group" "Hide Radio1 Group"]
<label>showing label works</label>
[group radio1]<label>Radio 1</label> [/group]
[group onebath]<label>group onebath</label>[/group]
[group bath1][group bed1][group hwty]<label> 15ri + 90 cylinder </label>[/group][/group][/group]
[group bath1][group bed1][group hwtyb]<label> 25 I combi + move </label>[/group][/group][/group]
[group bath1][group bed1][group hwtn]<label> 25 I combi </label>[/group][/group][/group]
[submit "Send"]
[multistep "2-2"]
I’ve removed a lot of conditions for troubleshooting, so the current conditions are:
if [radio-16] equals "Show Radio1 Group" then show [radio1]
if [bathrooms] equals "1" then show [onebath]
Many thanks for your help.
Paul
For other people having a similar problem: i wasn’t able to solve this. what webiness.uk wanted was to have fields hidden in step 2 based on conditions in step 1. This is not possible with CF7CF alone. It might be achieved, however, using the Dynamic text for CF7 extension https://nl.ww.wp.xz.cn/plugins/contact-form-7-dynamic-text-extension/ but this will need some custom development, pre-filling hidden fields based on cookies set by the previous step.
The frontpage of this plugin (on ww.wp.xz.cn) says that it works with multi step now. Does this include this now?
Are you planning on supporting this?
It would be nice if you could add a link to a manual on how the plugins cooperate and its limitations, im glad i found this post, because I suspect i can’t do conditions across steps.
Also thank you for making the plugin.
-
This reply was modified 8 years, 10 months ago by
Snuwerd.