Message subject related to the recipient
-
Hello,
I would like to use Conditional Fields for Contact Form 7 to let the sender choose a message subject related to the recipient.
I build something like this:
<label> To Mister [select* Recipients class:select default:get "Orange|[email protected]" "Black|[email protected]" "Green|[email protected]"]</label> [group Subject_Orange clear_on_hide] <label> Select a subject for Mister Orange: [select* subject_Orange "Subject Orange 1" "Subject Orange 2" "Subject Orange 3" ]</label> [/group] [group Subject_Black clear_on_hide] <label> Select a subject for Mister Black: [select* subject_Black "Subject Black 1" "Subject Black 2" "Subject Black 3" ]</label> [/group] [group Subject_Green clear_on_hide] <label> Select a subject for Mister Green: [select* subject_Green "Subject Green 1" "Subject Green 2" "Subject Green 3" ]</label> [/group]
I set the Conditional fields like this:
Show Subject_Orange if Recipients equals Orange
Show Subject_Black if Recipients equals Black
Show Subject_Green if Recipients equals GreenBut how can I add in the Object field only the subject selected ?
Is there a way to change the value of [your-subject] with the subject selected ?
Or set a hidden variable with the subject selected ?
Thanks
Best Regards
Nexus
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Message subject related to the recipient’ is closed to new replies.