Checkbox field created via API is missing input | Community
Skip to main content
Vitaly_Nikolaie
Level 2
November 28, 2018
Question

Checkbox field created via API is missing input

  • November 28, 2018
  • 1 reply
  • 1629 views

Hi!

I have a strange issue with API created field.

I use API call to create a checkbox field

{

"id": "Opt_In_Consent__c",

"label": "Opt-In Consent",

"dataType": "checkbox",

"defaultValue": "yes",

"validationMessage": "This field is required.",

"required": false,

"formPrefill": true,

"initiallyChecked": true

}

After the field is created - there is no input on the field. If I remove this field are recreate it through UI editor in the Design studio with the same parameters - everything works fine. See the second checkbox field.

Does anyone have the same problems? All other fields are working fine

In the editor, they both looks the same

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

1 reply

Todd_Sprinkel
Level 2
January 10, 2020

I know this was an old issue, but it is still occurring today. I was able to "fix" this through the UI by changing the field type from Checkbox to Select and back again. Once I saved after that, the input was there. I'm going to create a case with Marketo support to get this bug fixed.