- Posts: 8
- Thank you received: 0
How to print custom form field values in thank you
- lesliemathis
- Topic Author
- Offline
- New Member
-
Less
More
9 years 11 months ago #62025
by lesliemathis
How to print custom form field values in thank you was created by lesliemathis
Hello,
I have three campaigns and each have unique custom form fields. I need to customize the thank you message for each campaign and print values from the custom fields. Campaign 2 has check boxes that allow someone to designate where their gift goes. I see that if i add the name of the field: [SELECT_A_PROGRAM] the value prints in the email but it has [" "].
Example:
Thank you for donating to ["the arts"]
or
Thank you for donating to
How do I get rid of the brackets and quotes?
I would also like to know if I can suppress a field form printing in the email or thank you page if it has no content. I am comfortable working with php is it would require modifying a file.
Thank you for your help.
I have three campaigns and each have unique custom form fields. I need to customize the thank you message for each campaign and print values from the custom fields. Campaign 2 has check boxes that allow someone to designate where their gift goes. I see that if i add the name of the field: [SELECT_A_PROGRAM] the value prints in the email but it has [" "].
Example:
Thank you for donating to ["the arts"]
or
Thank you for donating to
How do I get rid of the brackets and quotes?
I would also like to know if I can suppress a field form printing in the email or thank you page if it has no content. I am comfortable working with php is it would require modifying a file.
Thank you for your help.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 11 months ago #62038
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to print custom form field values in thank you
Hi
Yes. You can. Just use the correct syntax [NAME_OF_CUSTOM_FIELD_IN_UPPER_CASE]
For example, if you have a custom field named jd_donation_description, you can use the text [JD_DONATION_DESCRIPTION] and it should work well
Tuan
Yes. You can. Just use the correct syntax [NAME_OF_CUSTOM_FIELD_IN_UPPER_CASE]
For example, if you have a custom field named jd_donation_description, you can use the text [JD_DONATION_DESCRIPTION] and it should work well
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.