Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no channels ("|") in the checkbox #41

Open
kirichme opened this issue Aug 27, 2023 · 5 comments
Open

no channels ("|") in the checkbox #41

kirichme opened this issue Aug 27, 2023 · 5 comments

Comments

@kirichme
Copy link

Contact Form 7 supports channels ("|") in the checkbox as a separator of what the user sees and what is sent to the email. But what the user sees only goes into the PDF. Is it possible to fix this? Thanks!

@restezconnectes
Copy link
Owner

restezconnectes commented Aug 29, 2023

Hi!

I think it's works.

I've tried this in local mode:

In form:
[select your-recipient "CEO|[email protected]" "Sales|[email protected]" "Support|[email protected]"]
In my PDF layout:
TEST Recipient: Pipe: [your-recipient] Before pipe: [_raw_your-recipient]

It's worked!

@kirichme
Copy link
Author

kirichme commented Aug 29, 2023

@Florent73
Hi!
Yes, it works for the select field type, but it doesn't work for the checkbox or radio field type, I have already installed [your-recipient] Before sending: [_raw_your-recipient], and it still gives out the wrong thing, if there is an opportunity to fix it,((
I will be very grateful!

example:
[checkbox test1 use_label_element "CEO|[email protected]" "Sales|[email protected]" "Support|[email protected]"]

@restezconnectes
Copy link
Owner

Hi!

OK i see that!

Thanks

@restezconnectes
Copy link
Owner

Hi!

Can you testing the lastest version?

Thanks

@kirichme
Copy link
Author

kirichme commented Sep 14, 2023

Hi, yes, it worked, thank you!

But now I have discovered that this only works if 2 short codes are output to the form at once [_raw_your-recipient] [your-recipient], if you put one [your-recipient], it returns empty information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants