{"id":10185,"date":"2026-04-29T17:04:25","date_gmt":"2026-04-29T17:04:25","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=10185"},"modified":"2026-04-29T17:04:25","modified_gmt":"2026-04-29T17:04:25","slug":"how-to-create-a-contact-form-in-hostinger-horizons","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-create-a-contact-form-in-hostinger-horizons\/","title":{"rendered":"How to create a contact form in Hostinger Horizons"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Building a contact form for your website allows visitors to reach out to you directly. In Hostinger Horizons, forms automatically store submissions in a dedicated data collection and send email notifications to your preferred address. This process is handled entirely within the Horizons interface without requiring external email services.<\/span><\/p><h3><b>Step 1: Prompt Horizons to create the contact form<\/b><\/h3><p><span style=\"font-weight: 400\">To set up the form, you must use the AI chat interface to define the fields and the notification behavior.<\/span><\/p><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open the <strong>Horizons chat<\/strong>.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Enter a <strong>prompt<\/strong> that specifies the required fields, the data collection name, and your notification email. For example:<br>\n<\/span>&ldquo;<em>Add a contact form to my website with the following fields: full name, email address, and message. Store each submission in a data collection called <b>Contact Submissions<\/b>. Send an email notification to <b>my.email@example.com<\/b><\/em><span><em> every time the form is submitted, including the sender&rsquo;s name, email address, and message.<\/em>&ldquo;<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Replace the placeholder email with the actual address where you wish to receive alerts.<\/span><\/li>\n<\/ol><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Use specific prompts to include additional fields like phone numbers or subject lines.<\/div><h3><b>Step 2: Test the form in preview mode<\/b><\/h3><p><span style=\"font-weight: 400\">Before making your site live, verify that the data is being captured and notifications are working.<\/span><\/p><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><b>Preview<\/b><span style=\"font-weight: 400\"> in the Horizons editor.<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-10187\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form1-1024x623.png\" alt=\"\" width=\"1024\" height=\"623\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form1-1024x623.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form1-300x183.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form1-768x467.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form1.png 1326w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/span><span style=\"font-weight: 400\"><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Fill out the contact form as a visitor would and submit it.<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10188\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form2.png\" alt=\"\" width=\"617\" height=\"686\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form2.png 617w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form2-270x300.png 270w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/span><span style=\"font-weight: 400\"><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><b>Data<\/b><span style=\"font-weight: 400\"> toggle at the top of the editor.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open the <\/span><b>Contact Submissions<\/b><span style=\"font-weight: 400\"> collection in the left panel.<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-10189\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form3-1024x476.png\" alt=\"\" width=\"1024\" height=\"476\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form3-1024x476.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form3-300x139.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form3-768x357.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form3.png 1317w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/span><span style=\"font-weight: 400\"><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Confirm the test entry appears under the <\/span><b>Test data<\/b><span style=\"font-weight: 400\"> section.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Check your email inbox for the notification.<\/span><\/li>\n<\/ol><h3><b>Step 3: Publish the website<\/b><\/h3><p><span style=\"font-weight: 400\">Once testing is successful, publish the project to enable live submissions.<\/span><\/p><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><b>Publish<\/b><span style=\"font-weight: 400\"> in the Horizons editor.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Real visitor submissions will now appear in the <\/span><b>Live data<\/b><span style=\"font-weight: 400\"> section of the <\/span><b>Data<\/b><span style=\"font-weight: 400\"> tab.<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-10191\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form5-1024x499.png\" alt=\"\" width=\"1024\" height=\"499\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form5-1024x499.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form5-300x146.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form5-768x374.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/form5.png 1325w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Email notifications will trigger for every new submission.<\/span><\/li>\n<\/ol><p><span style=\"font-weight: 400\">You have now successfully <strong>integrated a contact system into your Hostinger Horizons site<\/strong>. Your visitors can reach you easily, and you can manage all interactions directly from your dashboard. For more advanced marketing features, <a href=\"https:\/\/www.hostinger.com\/support\/hostinger-reach-how-to-add-a-form-built-with-reach-to-your-horizons-or-any-vibe-coded-site\/\"><strong>you can always use your forms with Hostinger Reach<\/strong><\/a>.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a functional website contact form with automatic email notifications and database storage using Hostinger Horizons<\/p>\n","protected":false},"author":591,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-10185","post","type-post","status-publish","format-standard","hentry","category-hostinger-horizons"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/591"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=10185"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10185\/revisions"}],"predecessor-version":[{"id":10192,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10185\/revisions\/10192"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=10185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=10185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=10185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}