• hi

    I have 2 bbq rosters setup on separate pages. I need to be able to add a date to the thankyou form which will be the date of the bbq. Both rosters use the same thankyou form. Each form need a different date so I can’t just add a field because the 2 rosters will get the same date. Can you suggest how l can get around this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    There are several ways you can approach this.

    1. Use a selector field (such as a radio button) that selects the roster: the data that is saved is just an index, like 1 or 2, then the title for each of those values is the date, so you’d use a configuration like this:
      June 3, 2023::1, June 17, 2023::2 Then when the field is shown in the email, they’ll see the date. (The “,” is a comma, you need to do this because comma is the delimiter for the value list.) Doing this way, you can change the date if you want, but since the data saved is just the number, you don’t need to update the record to see the new date.
    2. Use the Email Expansion Kit add-on to define a different email for each roster. This plugin provides a way to define multiple email templates and then select the email template based on a value in the submission.
    3. Write some custom code that modifies the email before it goes out, inserting the correct date. There are several filters you can use to do this, such as pdb-receipt_email_template
    Thread Starter 53peterp

    (@53peterp)

    Thanks so much for taking the time to answer my question with all these details its much appreciated. I will go through what you have suggested.

    • This reply was modified 1 year, 9 months ago by 53peterp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add a date’ is closed to new replies.