ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Hide a value in email when checkbox is unchecked ?

CedricCQ 12 Feb, 2018
Hi !

When I uncheck the box "Recto verso", the value of "Impression verso" is sent in the email, it is possible to hide in email the value of this field when the box "Recto verso" is unchecked ?

Thank you🙂


When "Recto verso" is uncheckedchrono2.png

When "Recto verso" is checked --> everything is ok in the email

chrono4.png


chrono.png
GreyHead 12 Feb, 2018
1 Likes
Hi marc,

You can use a Custom Code action before the Email to check and change the value of the Impression Verso data element.

Bob
CedricCQ 12 Feb, 2018
Thank you for your answer, but I'm a little bit lost, sorry for the dumb question but where can I found this Custom Code ? How can I do that ?

Thanks,

Marc
CedricCQ 13 Feb, 2018
It is possible to use "Events" to simply disable "Include value in email" for my other element ?

Thank you.
Max_admin 13 Feb, 2018
Hi marc,

Unfortunately this feature is not available, you will need to use PHP code to build the email template and check if the checkbox value was available or not and add the text accordingly.

But I can try some change which may work for you, please disable the "Ghost" feature under the "advanced" tab and send me a message using the "Contact" page to get a patch file to test.

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com