SOLVED

Update Select Box Dropdown Options in Forms via Update Form API Call

Go to solution
Joseph_Wood
Level 2

Update Select Box Dropdown Options in Forms via Update Form API Call

I am working with the new Forms API and so far it has been pretty great. However, I am running into a problem when I am trying to update a select box's dropdown options via the update form api call. I am able to update the label, labelWidth, fieldWidth, instructions, validationMessage, rowNumber, columnNumber, required, formPrefill, visibileLines, and visibilityRules but I am not able to update anything within the fieldMetaData attribute. Namely the label and value within the values array inside the fieldMetaData attribute.

Does anyone know how to do this?

The one on the left is the original, the one on the right is the updated one. I need to update the Select dropdown boxes and their contents.

7.png

1 ACCEPTED SOLUTION

Accepted Solutions
Joseph_Wood
Level 2

Re: Update Select Box Dropdown Options in Forms via Update Form API Call

I have since figured out how to do this. The API documentation page was not updated with the correct information. If you go to http://developers.marketo.com/documentation/marketo-rest-apis-web-page-objects/update-form-field/  there is enough information to now solve this problem.

View solution in original post

1 REPLY 1
Joseph_Wood
Level 2

Re: Update Select Box Dropdown Options in Forms via Update Form API Call

I have since figured out how to do this. The API documentation page was not updated with the correct information. If you go to http://developers.marketo.com/documentation/marketo-rest-apis-web-page-objects/update-form-field/  there is enough information to now solve this problem.

View solution in original post