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.
Solved! Go to Solution.
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.
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.