Support » Plugin: Genesis eNews Extended » How to submit a Campaign Monitor hidden custom field value

  • Hi! This is something handy that I didn’t find a guide for anywhere else and figured out on my own. Hope others find it useful.

    In Campaign Monitor, I have configured a “Signup Source” Custom Field for my List. This way I can segment my List by where they signed up. This field has values like “Website”, “Twitter”, etc. I wanted my website contact form to populate “Signup Source” with the value “Website.”

    To have eNews populate a specific value for a custom field along with the form submission, here’s what I did:

    1. In your CM signup form creation, make sure the Custom Field you want to include is checked.

    2. In the CM signup form code, find the entries that look like

    id="fjiehgue" < YOURFIELDID
    name="cm-fjiehgue" < YOURFIELDNAME
    value="0348395" < YOURVALUE

    for this Custom Field and the corresponding value you want it to have.

    3. In the eNews widget, under Hidden Fields, enter the following…

    <input type="hidden" id="YOURFIELDID" name="YOURFIELDNAME" value="YOURVALUE"></input>

    4. That’s it! Save your form.

    5. To test your form, make a new submission and go look at the Subscriber’s entry to confirm that your Custom Field populated correctly.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to submit a Campaign Monitor hidden custom field value’ is closed to new replies.