Checkboxes Responses in Alert Email | Community
Skip to main content
April 26, 2016
Question

Checkboxes Responses in Alert Email

  • April 26, 2016
  • 2 replies
  • 4724 views

I have a form with a checkboxes section where a person can select up to 8 selections of 28 possible selections, and I want to 1. Limit the amount of selections the person can make, and 2. have those selections show up in an alert email that comes to me when the form is submitted.

I've tested the form and the only value that comes in through the token for the multiple selections is a "1."

Any ideas on how I can make both of these options work?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

April 26, 2016

Alec:

The way Marketo processes data, a “1” is the equivalent to a Yes checkmark.

Mike Turner

Senior Manager, Lead-to-Revenue Marketing

Textron Aviation

316.517.1015 PHONE

316.665.0378 MOBILE

Grégoire_Miche2
Level 10
April 26, 2016

Hi Alec,

Limiting the number of checked boxes will require some JS.

If you are using 1 field with "checkboxes" field type, you can edit the stored values.

If you are using multiple fields, each with a "checkbox" (single) field type, you cannot. But, if theses fields are not boolean ones, but string ones, you could change them to "checkboxes" field type (keeping multiple fields) and you would be able to choose the stored value. Remember the stored value is the one that renders in your alert email.

-Greg

Josh_Hill13
Level 10
April 26, 2016

In these cases, you can either run some JS to populate a "Yes" value to a String field, or use a data flow to do the same thing. Usually, if I plan in advance, I make these fields read as Yes/No/Blank.

If you want to display 1=Yes=TRUE on a page, this is much easier because JS will let you recode the text.

Germaine_Willia
Level 2
March 5, 2018

Hi Josh,

We're running into the same problem as above: we want to show which selections were chosen and it shows up as a "1". I showed my web director this email chain and that you said the edit could be made in JS, but he was wondering where/how?

Can you elaborate please?