Re: Forms 2.0 - change checkboxes

Atara_Rotenberg
Level 2

Forms 2.0 - change checkboxes

Has anyone tried the new forms set up with check boxes? Any tips on how to change the yes and no checkboxes to a single checkbox option?
Tags (1)
16 REPLIES 16
Anonymous
Not applicable

Re: Forms 2.0 - change checkboxes

I am also looking for this option. I tried multiple ways but no luck. If you remove the option values, then single checkbox can be displayed but functionality will go off.

Please let us know if somebody has tried this.
Anonymous
Not applicable

Re: Forms 2.0 - change checkboxes

I'll ask the question internally but my guess is that this was done to make the concept of a boolean field easier to understand.

There were many examples of people setting a checkbox field to required thinking that this meant leads filling out the form would have check it to accept T&Cs, then they would ask why the form was able to submit even though the field was left blank.

Anonymous
Not applicable

Re: Forms 2.0 - change checkboxes

The following will work for the T&Cs style single checkbox
Admittedly it could be more straightforward.
0EM50000000RPed.jpg


As for having a checkbox that sends a value when it’s not checked, that’s not the normal way that HTML checkboxes work.  When you submit a HTML form, a checkbox doesn’t send a value if it’s not checked (see http://www.w3schools.com/jsref/prop_checkbox_value.asp).    

If you need there to be a record of the lead’s choice, I think the best way to model that usage would be instead a radio button with two options, yes or no.  The radio will always send exactly one of its values 
Atara_Rotenberg
Level 2

Re: Forms 2.0 - change checkboxes

I am trying to replicate what you did in the first 2 boxes, but Marketo doesnt seem to save the information if there is no display value
Anonymous
Not applicable

Re: Forms 2.0 - change checkboxes

You need some value to be saved into the system. It can't be empty, there has to be either |Yes or |No, |Yes being to more likely.

When trying my steps dont edit anything in the 1st image in the top left, instead click the advanced options and edit the text there.
Atara_Rotenberg
Level 2

Re: Forms 2.0 - change checkboxes

Thanks for your suggestion, but the value |Yes in the advanced options box doesnt save. 
The checkbox just disappears
Atara_Rotenberg
Level 2

Re: Forms 2.0 - change checkboxes

It does work though if you add a space " |Yes"!
Anonymous
Not applicable

Re: Forms 2.0 - change checkboxes

You're right, sorry, I tested this yesterday and I forgot about the space.
Anonymous
Not applicable

Re: Forms 2.0 - change checkboxes

Is there a way to put the checkbox on either the right side or the left side of the label? It defaults to underneath the label.