{"id":2115,"date":"2022-07-25T16:53:32","date_gmt":"2012-10-12T14:02:29","guid":{"rendered":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?p=2115"},"modified":"2022-10-20T09:13:43","modified_gmt":"2022-10-20T09:13:43","slug":"how-to-prefill-fields-in-wordpress-forms","status":"publish","type":"post","link":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/","title":{"rendered":"How to prefill fields in WordPress forms with 123FormBuilder?"},"content":{"rendered":"\n<p>When embedding a form on a WordPress page or post, the code retrieved from the <b>Publish \u2192 Platforms \u2192&nbsp;WordPress<\/b> section within our <a href=\"\/\">form builder<\/a> normally looks like this:<\/p>\n\n\n\n<p>[ 123-contact-form i507842 ]<\/p>\n\n\n\n<p>In order to prefill form fields you need to change this code in the following way (in one line):<\/p>\n\n\n\n<p>[ 123-contact-form i507842 <b>control3592242-1=John&amp;control3592242-2=Doe&amp;control3591576=johndoe@company.com&amp;control35 91577=This is a test message.<\/b> ]<\/p>\n\n\n\n<p><code><b>control3592242-1<\/b><\/code>, <code><b>control3592242-2<\/b><\/code>, <code><b>control3591576<\/b><\/code> and <code><b>control3591576<\/b><\/code> are the name attributes of form fields. You can retrieve them by inspecting the code of your form with a browser inspection tool.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay controls loop muted src=\"https:\/\/cdn.marketing123.123formbuilder.com\/wp-content\/uploads\/sites\/3\/2022\/10\/Screen-Recording-2022-10-20-at-12.12.23.mp4\"><\/video><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><code><b>John<\/b><\/code>, <code><b>Doe<\/b><\/code>, <code><b>johndoe@company.com<\/b><\/code> and <code><b>This is a test message.<\/b><\/code> represent the prefilled values assigned to the fields above.<\/p>\n\n\n\n<p>Name attributes and values are connected through the operator <code><b>&amp;<\/b><\/code>.<\/p>\n\n\n\n<p>[123-contact-form i507842 control3592242-1=John&amp;control3592242-2=Doe&amp;control3591576=johndoe@company.com&amp;control3591577=This is a test message.]<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\" \/>\n\n\n\n<p><b>Related articles<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-form-fields\/\">How to prefill form fields?<\/a><\/li><li><a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-when-embedding-a-form\/\">How to prefill fields when embedding a form?<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When embedding a form on a WordPress page or post, the code retrieved from the Publish \u2192 Platforms \u2192&nbsp;WordPress section within our form builder normally looks like this: [ 123-contact-form i507842 ] In order to prefill form fields you need to change this code in the following way (in one line): [ 123-contact-form i507842 control3592242-1=John&amp;control3592242-2=Doe&amp;control3591576=johndoe@company.com&amp;control35 [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[37],"tags":[59,703,151],"class_list":["post-2115","post","type-post","status-publish","format-standard","hentry","category-publish","tag-aaa_publish","tag-prefill-in-wordpress","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Help: Prefill fields in WordPress forms | 123FormBuilder<\/title>\n<meta name=\"description\" content=\"If you need to prefill a form that you have published on WordPress, follow this article to learn how easy it is to do so.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to prefill fields in WordPress forms with 123FormBuilder?\" \/>\n<meta property=\"og:description\" content=\"If you need to prefill a form that you have published on WordPress, follow this article to learn how easy it is to do so.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/\" \/>\n<meta property=\"og:site_name\" content=\"123FormBuilder Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2012-10-12T14:02:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-20T09:13:43+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Help: Prefill fields in WordPress forms | 123FormBuilder","description":"If you need to prefill a form that you have published on WordPress, follow this article to learn how easy it is to do so.","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:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/","og_locale":"en_US","og_type":"article","og_title":"How to prefill fields in WordPress forms with 123FormBuilder?","og_description":"If you need to prefill a form that you have published on WordPress, follow this article to learn how easy it is to do so.","og_url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/","og_site_name":"123FormBuilder Knowledge Base","article_published_time":"2012-10-12T14:02:29+00:00","article_modified_time":"2022-10-20T09:13:43+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/#article","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/"},"author":{"name":"admin","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea"},"headline":"How to prefill fields in WordPress forms with 123FormBuilder?","datePublished":"2012-10-12T14:02:29+00:00","dateModified":"2022-10-20T09:13:43+00:00","mainEntityOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/"},"wordCount":158,"commentCount":2,"keywords":["aaa_publish","prefill in wordpress","WordPress"],"articleSection":["Publish"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/","name":"Help: Prefill fields in WordPress forms | 123FormBuilder","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website"},"datePublished":"2012-10-12T14:02:29+00:00","dateModified":"2022-10-20T09:13:43+00:00","author":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea"},"description":"If you need to prefill a form that you have published on WordPress, follow this article to learn how easy it is to do so.","breadcrumb":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/how-to-prefill-fields-in-wordpress-forms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/"},{"@type":"ListItem","position":2,"name":"How to prefill fields in WordPress forms with 123FormBuilder?"}]},{"@type":"WebSite","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/","name":"123FormBuilder Knowledge Base","description":"Search our documentation platform for answers, service specifications and 3rd-party integrations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/ac765b93d6689ec0f4ee6f6e040d66ea","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/41383a571ede8f1257b128aa53a410cc1ea4c1901ac8cea3776cba5438d24843?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2Fadmin%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","caption":"admin"},"url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/2115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/comments?post=2115"}],"version-history":[{"count":33,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/2115\/revisions"}],"predecessor-version":[{"id":44597,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/2115\/revisions\/44597"}],"wp:attachment":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/media?parent=2115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/categories?post=2115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/tags?post=2115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}