Tapita Page Builder allows you to build contact forms using the following options:
- Using the Contact Us page templates
- Using the Contact Form block
- Build the form fields from scratch using the Forms elements
Either way, there are only 2 steps you need to do to get your form working!
Use the Contact Form block
In Tapita page builder dashboard, go to Blocks > Others > Contact Form. Drag and drop this block into your page.
Add or remove fields
(Optional) Redirect subscribers after they submit the form
To create a better user experience, you can redirect customers to a Thank-you page after they submit the form.
To do that, you can create a new page in Tapita using the template “Thank You”.
You can publish the page as it is or edit it as you like before publishing.
Then go to Page Settings > Advanced, and paste this below code into the Custom JS field:
if(window.location.search == "?contact_posted=true"){
window.location.href = 'https://your-page.com/pages/thank-you';
}
where https://your-page.com/pages/thank-you is the URL of your Thank You page.
Click Save and done! Now when customers submit the form, they will be redirected to your Thank You page.