How to print custom form field values in thank you

  • lesliemathis
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #62025 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.

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt