Support

Home Forums Event Espresso Premium Infusionsoft – registration form fields to custom fields and tagging

Infusionsoft – registration form fields to custom fields and tagging

Posted: July 28, 2013 at 8:46 pm


panz

July 28, 2013 at 8:46 pm

Hi I have just purchased the Infusionsoft add-on and I would like to be able to pass the event start date through to a custom field in IS.

I have looked through your documentation and it tells me I have to view the source of the registration form to find the field name I require.

When looking for the event start date the only code I can find is:

<p class=”start_date”>
<span class=”span_event_date_label”><br />
Date: </span><br />
<span class=”span_event_date_value”><br />
Thursday, 1 August, 2013 </span>
</p>

there is no name= that I can see.

The second question is when setting up the tagging using event meta, is it possible to apply more than 1 tag? Obviously I cant have 2 indentical meta keys with different values.

Thanks


Dean

July 30, 2013 at 5:05 am

Hi Adam,

The issue with this is the start and end dates are not in the form, so not in the $_POST variable.

You would have to modify the registration_page_display.php to add in some hidden form elements with the appropriate data, something like:

        <input type="hidden" name="dr_start_date" value="<?php echo $start_date; ?>" />
        <input type="hidden" name="dr_end_date" value="<?php echo $end_date; ?>" />

Then you would be able to grab that information and send it to Infusionsoft.

The second question is when setting up the tagging using event meta, is it possible to apply more than 1 tag? Obviously I cant have 2 identical meta keys with different values.

Could you explain what you need a bit more here, is it that you have two meta fields and need both of that data in one tag or one meta field that needs to go into two tags? Both should be possible.


panz

July 30, 2013 at 10:57 pm

Ok, that makes sense but it does bring up another question: Can I have more than 1 registration_page_display.php and assign different versions to different events so I can push the data through to different fields in IS?

Example:
start date of Event_A gets mapped to IS field Event_A_Start_Date
start date of Event_B gets mapped to IS field Event_B_Start_Date
start date of Event_C gets mapped to IS field Event_C_Start_Date

I have multiple event TYPES and just pushing the field Start_Date to IS will cause it to be overwritten if the user registers for 2 events types.

As for using event meta to set tags in IS, my question is that I want each event to set 2 tags in IS. If can set the first by using the meta key “infusionsoft_tag_id” and setting the value to match my desired tag ID. How do I set the second tag?


Dean

July 31, 2013 at 4:21 am

Hi Adam,

No it isn’t possible to have a secondary registration_page_display.php template. You would have to modify the template to use conditional logic to get your desired results.

I wasn’t sure about the tag system to be honest so I ran some tests, it seems that only one tag can be applied at a time.

I’ll add a feature request to see if we can get more added at once, but I cannot guarantee if or when it would be introduced.

The support post ‘Infusionsoft – registration form fields to custom fields and tagging’ 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