{"id":793,"date":"2016-06-09T14:34:19","date_gmt":"2016-06-09T19:34:19","guid":{"rendered":"https:\/\/www.teamdesk.net\/blog\/?p=793"},"modified":"2021-04-17T16:41:50","modified_gmt":"2021-04-17T21:41:50","slug":"create-dynamic-wordpress-forms","status":"publish","type":"post","link":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/","title":{"rendered":"Dynamic WordPress forms powered by TeamDesk database"},"content":{"rendered":"<p>Millions of business websites and blogs depend on WordPress.\u00a0If your website is built on WordPress and you need a dynamic form to submit some data, you may utilize TeamDesk online database to power data submission from your website directly into web-database. In\u00a0your own\u00a0TeamDesk database application you can generate a web-to-record form and\u00a0embed it into the website in a pretty\u00a0simple way. Let&#8217;s consider the following example displaying dynamic WordPress forms creation.<!--more--><\/p>\n<p>Say, you need to register event participants in your Events Database. Participants\u2019 data is kept in the \u201cEvent Registrations\u201d table in your online database. Each participant will enter his\/her data via WordPress Forms on your website.<\/p>\n<p>Here is an example of such an Event Registrations table populated with data:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms-to-Table.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-842\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms-to-Table.png\" alt=\"WordPress Forms to Table\" width=\"974\" height=\"313\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms-to-Table.png 974w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms-to-Table-300x96.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms-to-Table-768x247.png 768w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/a><\/p>\n<p>To create dynamic WordPress forms you need to enter the Setup mode of your web-database and choose the <a href=\"https:\/\/www.teamdesk.net\/help\/7.3.aspx\">Web-To-Record<\/a> feature.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/Web-To-Record-Form.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-827\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/Web-To-Record-Form.gif\" alt=\"Web-To-Record-Form\" width=\"751\" height=\"301\" \/><\/a><\/p>\n<p>Select the &#8220;Enabled (HTML5\/JavaScript)&#8221; option on the web-to-record form\u00a0and generate a simple HTML snippet. Copy this code.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/Code-for-Wordpress-Forms.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-828\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/Code-for-Wordpress-Forms.gif\" alt=\"Code-for-Wordpress-Forms\" width=\"747\" height=\"271\" \/><\/a><\/p>\n<p>Now\u00a0open your WordPress forms admin panel.\u00a0Activate the Text tab and\u00a0insert the above-mentioned\u00a0HTML code.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-831\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/WordPress-Forms.gif\" alt=\"WordPress-Forms\" width=\"739\" height=\"220\" \/><\/a><\/p>\n<p>As a result, the dynamic WordPress form has been created (please try it at the top of the page).<\/p>\n<p>The main advantage of this approach is that you can create a fully functional embedded form supporting all the built-in TeamDesk functionality, such as\u00a0 <a href=\"https:\/\/www.teamdesk.net\/help\/7.2.aspx\">form behavior<\/a>, <a href=\"https:\/\/www.teamdesk.net\/help\/4.7.aspx\">dynamic column calculations<\/a>, <a href=\"https:\/\/www.teamdesk.net\/help\/4.3.aspx\">reference columns <\/a>and <a href=\"https:\/\/www.teamdesk.net\/help\/11.2.aspx\">validation rules<\/a>.<\/p>\n<p>For example, you can test a dependent dropdown functionality directly on the form displayed in this post &#8211; just select the State value and you\u2019ll see the dropdown populated with the list of cities\/towns belonging to this state. Furthermore, to try TeamDesk form behavior functionality, simply activate the Company radio button in the Status field and you will see two additional fields: &#8220;Company Name&#8221; and &#8220;Job Title&#8221; appear on the form.<\/p>\n<p>Try it now with either your existing TeamDesk online database or with a newly-created <a href=\"https:\/\/www.teamdesk.net\/startnow\">free trial database<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.<\/p>\n","protected":false},"author":3,"featured_media":848,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-tricks"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dynamic WordPress forms powered by TeamDesk database - TeamDesk Blog<\/title>\n<meta name=\"description\" content=\"Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dynamic WordPress forms powered by TeamDesk database - TeamDesk Blog\" \/>\n<meta property=\"og:description\" content=\"Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamDesk Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-09T19:34:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-17T21:41:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/wordpress_teamdesk-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mila\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mila\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/\"},\"author\":{\"name\":\"Mila\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\"},\"headline\":\"Dynamic WordPress forms powered by TeamDesk database\",\"datePublished\":\"2016-06-09T19:34:19+00:00\",\"dateModified\":\"2021-04-17T21:41:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/\"},\"wordCount\":331,\"commentCount\":2,\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/wordpress_teamdesk-1.png\",\"articleSection\":[\"Tips &amp; Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/\",\"name\":\"Dynamic WordPress forms powered by TeamDesk database - TeamDesk Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/wordpress_teamdesk-1.png\",\"datePublished\":\"2016-06-09T19:34:19+00:00\",\"dateModified\":\"2021-04-17T21:41:50+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\"},\"description\":\"Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/wordpress_teamdesk-1.png\",\"contentUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/wordpress_teamdesk-1.png\",\"width\":1200,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/create-dynamic-wordpress-forms\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dynamic WordPress forms powered by TeamDesk database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\",\"name\":\"TeamDesk Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\",\"name\":\"Mila\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"caption\":\"Mila\"},\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/author\\\/mila\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dynamic WordPress forms powered by TeamDesk database - TeamDesk Blog","description":"Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/","og_locale":"en_US","og_type":"article","og_title":"Dynamic WordPress forms powered by TeamDesk database - TeamDesk Blog","og_description":"Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.","og_url":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/","og_site_name":"TeamDesk Blog","article_published_time":"2016-06-09T19:34:19+00:00","article_modified_time":"2021-04-17T21:41:50+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/wordpress_teamdesk-1.png","type":"image\/png"}],"author":"Mila","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mila","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#article","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/"},"author":{"name":"Mila","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e"},"headline":"Dynamic WordPress forms powered by TeamDesk database","datePublished":"2016-06-09T19:34:19+00:00","dateModified":"2021-04-17T21:41:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/"},"wordCount":331,"commentCount":2,"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/wordpress_teamdesk-1.png","articleSection":["Tips &amp; Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/","url":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/","name":"Dynamic WordPress forms powered by TeamDesk database - TeamDesk Blog","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#primaryimage"},"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/wordpress_teamdesk-1.png","datePublished":"2016-06-09T19:34:19+00:00","dateModified":"2021-04-17T21:41:50+00:00","author":{"@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e"},"description":"Simplify data entering via your website directly to online database. Just create dynamic WordPress forms using TeamDesk web-database features.","breadcrumb":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#primaryimage","url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/wordpress_teamdesk-1.png","contentUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2016\/06\/wordpress_teamdesk-1.png","width":1200,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/create-dynamic-wordpress-forms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamdesk.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Dynamic WordPress forms powered by TeamDesk database"}]},{"@type":"WebSite","@id":"https:\/\/www.teamdesk.net\/blog\/#website","url":"https:\/\/www.teamdesk.net\/blog\/","name":"TeamDesk Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamdesk.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e","name":"Mila","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","caption":"Mila"},"url":"https:\/\/www.teamdesk.net\/blog\/author\/mila\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":28,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"predecessor-version":[{"id":2395,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/793\/revisions\/2395"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media\/848"}],"wp:attachment":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}