{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"Attach Images to a Form","type":"basic","slug":"attach-images-to-a-form","excerpt":"","body":"External resources such as images or PDFs need to be processed separately from the JSON or XML request body.  In order to include an image on a form (either during creation or updating after the fact), the following actions need to be performed.\n\n- Upload the image using the Files endpoint.  See [Uploading a file](doc:uploading-a-file)  for more details.\n- After the image has being uploaded, obtain the Id of the file.\n- Include the Id as the value of the `id` property on the image field when creating a new form or updating an existing form.","updates":[],"order":8,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5536daf0a519b10d001f7df8","__v":1,"project":"55357364e02d480d0003c6d3","version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["553591cd63cc650d00312926","553591cd63cc650d00312927","5536e4d39f7f2d0d00b1cd54","5536e55c20d5ca0d0001580a","5536e6bf7fe60f0d000fd1c0","5536f5bba171250d00c00556","553a974369c2630d00a8562e","553a97c60074c80d00621c2a","553a98332af5f20d000fc32a","553a9b9869c2630d00a85642","556e0f23d02e0b190042f13d","563249b1dcc27a1700823650","5639113f049e420d00476b03","59a5dd94aaa11d003334edb4"],"_id":"553591cd63cc650d00312925","project":"55357364e02d480d0003c6d3","releaseDate":"2015-04-20T23:54:53.134Z","__v":13,"forked_from":"55357365e02d480d0003c6d6","createdAt":"2015-04-20T23:54:53.134Z"},"createdAt":"2015-04-21T23:19:12.442Z","githubsync":"","category":{"sync":{"isSync":false,"url":""},"pages":["553591ce63cc650d00312928","553594c963cc650d00312931","5535985e63cc650d00312936","55365baa86514f0d00bc2f96","5536daf0a519b10d001f7df8","5536db65c16ee70d007568a8","5536dc26c16ee70d007568ac","5536de1453b6430d0042dfeb","5536e535bbb4a70d00a53529","553ab2a336d0100d004b35b1","554172c94841af0d00b4234f"],"title":"Formz","slug":"formz","order":1,"from_sync":false,"reference":false,"_id":"553591cd63cc650d00312927","version":"553591cd63cc650d00312925","__v":11,"createdAt":"2015-04-20T23:52:42.707Z","project":"55357364e02d480d0003c6d3"},"user":"55356ede6040a20d00454508","parentDoc":null}

Attach Images to a Form


External resources such as images or PDFs need to be processed separately from the JSON or XML request body. In order to include an image on a form (either during creation or updating after the fact), the following actions need to be performed. - Upload the image using the Files endpoint. See [Uploading a file](doc:uploading-a-file) for more details. - After the image has being uploaded, obtain the Id of the file. - Include the Id as the value of the `id` property on the image field when creating a new form or updating an existing form.