Support

Home Forums Event Espresso Premium Adding specific custom form fields to an EE custom email template

Adding specific custom form fields to an EE custom email template

Posted: May 9, 2023 at 8:30 am

Viewing 3 reply threads


Staggers

May 9, 2023 at 8:30 am

Hi there

I know EE does not support instalment payments but I am trying to see if I can set this up manually. My potential solution is to create some admin only (or hidden) form fields (Instalment_one, Instalment_two, etc) and then to add those amounts manually to the answers manually. Then add those custom form fields to a custom Payment Reminder template. I am able to add the quuestion list ([QUESTION_LIST]) OK but I am unable to successfuly add just the specific answers using either [ANSWER_*Instalment_one] OR [PRIMARY_REGISTRANT_ANSWER_*Instalment_one] etc.The code is not rejected but it does not add the answer data to the email on send.

Am I missing something? Is it possible to do want I am trying to do?

Thanks in advance.

John


Tony

  • Support Staff

May 9, 2023 at 9:24 am

Hi John,

The [QUESTION_LIST] section looks over ALL questions assigned to a registration and parses that section for EACH individual question, so if you are adding the above to that section its not going to work how I think you are expecting.

[PRIMARY_REGISTRANT_ANSWER_*Instalment_one] in the EVENT_LIST or MAIN_CONTENT sections could work… however, the way those shortcodes work is you pass the ‘Question text’ value to them and it must match exactly.

From the look of yours, I’m guessing you are passing the admin text field.

If your question text field is ‘Instalment one’ then the shortcode would be:

[PRIMARY_REGISTRANT_ANSWER_*Instalment one]

If that doesn’t work, can you add a screenshot of editing your question so I can take a look?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Staggers

May 9, 2023 at 9:31 am

Yep! That was it. Schoolboy error. The intended data is added on send the workaround looks like it will do as intended. Thanks for your help.
John


Tony

  • Support Staff

May 9, 2023 at 9:34 am

Awesome, I’m glad its working 🙂

Viewing 3 reply threads

The support post ‘Adding specific custom form fields to an EE custom email template’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso