Blog Details

image

24 Dec 2025

09

35

Introduction

This part of the documentation shows you how you can configure a contact form with Tailwind CSS Templates and Bootstrap Templates.

Using PHP Contact Form:

For Bootstrap templates, we used to provide a PHP script that only can be used for PHP servers,

if phpmailer function is up and running smoothly.

Here is how it works: Just replace the email address with your own from

assets->php>contact.php

This procedure should work if everything is configured properly on the server side.

Using FormBold: A universal Form API (Recommended):

FormBold is a powerful form API and serverless form backend that works with all hosting, SSG, and frameworks.

We highly recommend, using a serverless end-point (FormBold) to make contact form dynamic. Since most users nowadays don't use PHP servers.

Here’s how to connect FormBold API with your contact form:

Step#1: Create an account on FormBold and create a Form.

Step#2: Integrate the API into your contact Form using this code. Make sure your Form’s method is set to POST

<form action="https://formbold.com/s/unique_form_id" method="POST">
  <input type="email" placeholder="email" name="email" />
  <input type="text" placeholder="subject" name="subject" />
  <textarea name="message" placeholder="message"></textarea>

  <button type="submit">Send Message</button>
</form>

You’ll find the unique_form_id in the FormBold dashboard under **Settings>Integration.**

Copy and paste it to the action attribute.

This is just the basic setup, FormBold has a lot of great features like re-captcha for spam protection, and the ability to integrate it with other apps like Webhook, Slack, Notion, and GoogleSheet. Learn more about FormBold here.

Related Articles

image
24 Dec 2025

基于 PINNs 的冻土地温场演化反演初探

利用物理信息神经网络对高寒地区冻土路基温度场进行时空反演与不确定性分析

image
24 Dec 2025

告别手动去噪:深度学习在地震波处理中的工程实践

结合真实工程案例,展示卷积神经网络在地震勘探与监测信号自动去噪中的应用流程

image
24 Dec 2025

如何利用 XGBoost 与 SHAP 提升岩土参数预测精度

面向生物聚合物处理土的气体渗透率预测,构建可解释的机器学习工作流