Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    This is a bit problematic to get the submit_time back based on how the hooks are called and some recent changes in CF7.

    I would suggest that you try this:

    1. Register a function on the CF7 hook “wpcf7_posted_data”. This is the hook to change data before it gets emailed or saved to the DB.
    2. Add a field to the data structure that is your own unique id, e.g. $uid= uniqid();
    3. Set up a second field that is the url like you have but make the “filter” select your field with the unique id instead of submit_time.
    4. I think you then have to go back to the CF7 definition and add the name of your second field to the email text section of your form definition to have it show in the email.

    I haven’t tried this. If you get it to work, please post some code. I’m sure others would like to do the same.

Viewing 1 replies (of 1 total)
  • The topic ‘Link to the submitted form inside the HTML email’ is closed to new replies.