Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 65051

Confirmation Email issue

$
0
0

Replies: 0

Hello, many thanks for this great CF7 extension…

I don’t understand what to do.
In my form, one user have to choose a present depending on the contract he subscribes to.

Stage 1: a radio box is displayed to choose between 3 different types of contract.
Contract A – Contract B – Contract C (option input type)

Stage 2 : if user chooses Contract A, then he has to choose one present
Present A1 – Present A2 – Present A3 (option input type)
If user chooses Contract B, then he has to choose among another list of present
Present B1 – Present B2 – Present B3 (option input type)
And so on for Contract C…

Stage 3 : user has to click on one option (for instance B1) to display present’s details (image, value, description)

Everything works perfectly with your Conditionnal fields extension in the form.

Issue: suppose the form user clicks on Contract A1, then Present A1 – Present A2 – Present A3 conditional fields groups is shown. He clicks on Present A1 option: its radio button is selected.
Then he wants to compare kinds of contracts/presents before sending the form…
He know clicks on Present B : A1, A2, A3 groups is hidden. B1, B2, B3 radio button group is shown.
He clicks on B2. He wants it, he validates the form and sent it.

My problem: in the confirmation email sent, I want to show name and description of the last present he has selected.
–> Whatever I do, the email displays A1 + B2 options details. I only need last choice, B2 witch is the last choice displayed on the form…

Here is the structure of my form:

[radio contract-A contract-B contract-C]
[group present-A]
[radio A1 A2 A3]
  [group detail A1]
    image of present A1, description, value
  [/group]
  [group detail A2]
    image of present A2, description, value
  [/group]
  [group detail A3]
    image of present A3, description, value
  [/group]
[/group]
[group present-B]
[radio B1 B2 B3]
  [group detail B1]
    image of present A1, description, value
  [/group]
  [group detail B2]
    image of present B2, description, value
  [/group]
  [group detail B3]
    image of present B3, description, value
  [/group]
[/group]

Rules :
if radio contract == contract then show group present-A
if radio A1 A2 A3 = A1 then show groups detail A1
etc.

What should I do in the email message? Impossible to display only last choice displayed in the form.
Many thanks for your help,
Mathieu


Viewing all articles
Browse latest Browse all 65051

Trending Articles