{"templateId":"@theme/Templates/SideBySide.tsx","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["split"]},"type":"markdown"},"seo":{"title":"Picture selection","description":"Build integrations, automate workflows, and manage forms and responses programmatically with the forms.app API.","siteUrl":"https://developers.forms.app","image":"/assets/formsapp-developer-docs.6ffba4f5ff7d394698661bcdb0ed2a8452f27acaf4e82754e5d0f4109563471c.9c1bb791.png","lang":"en-US","projectTitle":"forms.app Developer Docs","llmstxt":{"sections":[{"title":"llmtxt for forms app documents","includeFiles":["**/*"],"excludeFiles":[]}]},"jsonLd":{"@context":"https://schema.org","@type":"Organization","additionalType":"https://en.wikipedia.org/wiki/Software_as_a_service","url":"https://forms.app","name":"forms.app","logo":"https://cdn.forms.app/icons/all/brands/formsapp-logo-dark.svg","description":"forms.app is a free online form builder designed for teams. forms.app offers a modern, easy-to-use form builder and allows unlimited responses and team members.","foundingDate":"2018","sameAs":"https://linkedin.com/company/formsapp","contactPoint":{"@type":"ContactPoint","contactType":"Customer service","email":"support@forms.app","url":"https://forms.app/en/contact-us"}}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"picture-selection","__idx":0},"children":["Picture selection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Displays options as images instead of text labels. Supports single or multiple selection with min/max limits."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Image files are referenced by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileId"]}," and listed in the form's top-level ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["formFiles"]}," array."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"schema","__idx":1},"children":["Schema"]},{"$$mdtype":"Tag","name":"Split","attributes":{},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.subType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"picturechoice\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Image-based selection"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.options"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Each option has ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["altText"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_id"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.min"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Minimum number of images that must be selected"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.max"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum number of images that can be selected"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.multipleSelection"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Allow selecting more than one image"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.defaultValue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string[]"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pre-selected option IDs"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fileId"]}," on each option corresponds to an entry in the form's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["formFiles"]}," array."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"_id\": \"6a0ef7283affac35058b067c\",\n  \"questionType\": \"choice\",\n  \"question\": \"Picture selection\",\n  \"displayOrder\": 10,\n  \"isRequired\": false,\n  \"isDeleted\": false,\n  \"isActive\": false,\n  \"description\": \"Picture selection helper text\",\n  \"choice\": {\n    \"subType\": \"picturechoice\",\n    \"min\": 1,\n    \"max\": 2,\n    \"options\": [\n      {\n        \"text\": \"Option 1\",\n        \"fileId\": \"aed9dd15-550e-11f1-bf67-0242ac120005\",\n        \"altText\": \"Pre-y\",\n        \"_id\": \"6a0ef7403affac35058b067d\"\n      },\n      {\n        \"text\": \"Option 2\",\n        \"fileId\": \"b0ff4da0-550e-11f1-bf67-0242ac120005\",\n        \"altText\": \"pro-y\",\n        \"_id\": \"6a0ef7443affac35058b067e\"\n      }\n    ],\n    \"defaultValue\": [],\n    \"multipleSelection\": true,\n    \"_id\": \"6a0ef771a7a40272efec2ab9\"\n  }\n}\n","lang":"json"},"children":[]}]}]},"headings":[{"value":"Picture selection","id":"picture-selection","depth":1},{"value":"Schema","id":"schema","depth":2}],"frontmatter":{"template":"@theme/Templates/SideBySide.tsx","seo":{"title":"Picture selection"}},"lastModified":"2026-05-21T13:45:48.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/form-schema/form-fields/picture-selection","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}