{"templateId":"@theme/Templates/SideBySide.tsx","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["split"]},"type":"markdown"},"seo":{"title":"Ranking","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":"ranking","__idx":0},"children":["Ranking"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lets respondents drag and drop options into their preferred order. Uses ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["choice.subType"]}," set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"ranking\""]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://forms.app/en/help-center/ranking"},"children":["Ranking field"]}," help article for builder options."]},{"$$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":["\"ranking\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Drag-and-drop ranking"]}]},{"$$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":["Items to rank, each with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_id"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Submission answers for ranking fields preserve the order the respondent assigned."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"_id\": \"6a0ef83b3affac35058b0739\",\n  \"questionType\": \"choice\",\n  \"question\": \"Ranking question\",\n  \"displayOrder\": 6,\n  \"isRequired\": false,\n  \"isDeleted\": false,\n  \"isActive\": false,\n  \"choice\": {\n    \"subType\": \"ranking\",\n    \"options\": [\n      { \"text\": \"Option 1\", \"_id\": \"6a0ef83b3affac35058b0734\" },\n      { \"text\": \"Option 2\", \"_id\": \"6a0ef83b3affac35058b0735\" },\n      { \"text\": \"Option 3\", \"_id\": \"6a0ef83b3affac35058b0736\" },\n      { \"text\": \"Option 4\", \"_id\": \"6a0ef83b3affac35058b0737\" },\n      { \"text\": \"Option 5\", \"_id\": \"6a0ef83b3affac35058b0738\" }\n    ],\n    \"_id\": \"6a0ef88ba7a40272efec3c79\"\n  }\n}\n","lang":"json"},"children":[]}]}]},"headings":[{"value":"Ranking","id":"ranking","depth":1},{"value":"Schema","id":"schema","depth":2}],"frontmatter":{"template":"@theme/Templates/SideBySide.tsx","seo":{"title":"Ranking"}},"lastModified":"2026-05-21T13:45:48.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/form-schema/form-fields/ranking","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}