Checkbox field created via API is missing input

Vitaly_Nikolaie
Level 1

Checkbox field created via API is missing input

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.

pastedImage_1.png

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

In the editor, they both looks the same

pastedImage_4.png

pastedImage_5.png

Tags (1)
1 REPLY 1
Todd_Sprinkel
Level 2

Re: Checkbox field created via API is missing input

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.