Base44 の問い合わせフォーム

Formgong team ·

これを Base44 に貼ってください。送信先は Formgong です。データベースも Resend も要りません。

250 月あたりの無料送信

Base44でのフォームの仕組み

Base44は、すべてのアプリに組み込みのデータベース、ユーザー、および連携機能を提供します。 お問い合わせフォームを作成する最も一般的な方法は、それをエンティティとして保存し、組み込みのSendEmail連携機能を使って通知を送信することです。Base44のドキュメントによると、SendEmailはアプリに登録されているユーザーにのみ送信できるため、外部のアドレスへの通知はできず、Telegram機能もありません。

Formgongでは、フォームはhttps://formgong.com/submitに送信され、すべての問い合わせはメールとTelegramで受信され、Formgongの受信箱にもコピーが保存されます。Base44はフォームの表示のみを担当します。

Base44での設定手順

  1. Formgongでフォームを作成し、アクセスキーをコピーしてください。
  2. 以下のプロンプトをBase44に貼り付けてください。これは、新しいエンティティやSendEmail統合を使用せずに、Formgongに送信するフロントエンドフォームを作成するよう求めるものです。
  3. アプリのプレビューを表示し、テストメッセージを送信してください。
  4. 公開後、本番用のアドレスから再度テスト送信を行い、Formgongのフォーム設定でTelegramを連携させてください。

ドキュメントの手順ガイド

Base44
Add a contact form to this app. The page posts straight to Formgong, a hosted form backend. Base44: do not create an entity for submissions and do not use the built-in email integration for this form.

Formgong spec (follow exactly):
- Plain HTML: <form action="https://formgong.com/submit" method="POST">. With JavaScript, POST the same fields to https://formgong.com/submit using fetch.
- Hidden field access_key with value fk_your_access_key. The key is public and belongs in frontend code. Do not move it to a server or a secret.
- Hidden field _lang with the page language code, e.g. "en" (on multilingual sites use document.documentElement.lang). Formgong uses it for error messages, the thank-you page, and the autoreply.
- Fields: name, email, message (required); phone is optional. Keep these field names, and use <input type="email"> for email so browsers check the address.
- Honeypot: <input type="text" name="botcheck" tabindex="-1" autocomplete="off"> inside a wrapper with aria-hidden="true", visually hidden with CSS (position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)). Never fill it.
- Success, plain form POST: optionally add a hidden _redirect field with the absolute https URL of the site's thank-you page. Without it, Formgong shows its own thank-you page.
- Success, fetch: send Accept: application/json (and Content-Type: application/json for a JSON body; for FormData let the browser set it). If the response has success === true, show an inline thank-you message and reset the form; otherwise show the response's message.
- Turnstile: only if I give you a Cloudflare Turnstile site key, add <script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script> and <div class="cf-turnstile" data-sitekey="SITE_KEY"></div> inside the form. Otherwise leave it out.
- Optional: add <script src="https://formgong.com/fg.js" async></script> once per page. It fills _lang from <html lang>, sets the Turnstile language, and counts form views without cookies.
- Do not create a backend, API route, server function, database table, or email-sending code (Supabase, Resend, SendGrid, nodemailer), and do not add secrets. No file uploads.

FormgongかBase44エンティティか?

アプリがデータを直接表示または処理する必要がある場合(例:ログイン済みユーザーの追跡リクエストなど)、フォームをBase44エンティティとして保存してください。

Formgongは、通知を受け取ることを主目的とする場合に活用してください。訪問者は登録ユーザーではなく、メールやTelegramで即座にメッセージを受け取りたい場合です。

よくある質問

Base44に組み込まれているSendEmail機能を使ってみてはいかがでしょうか?

Base44のドキュメントには、SendEmailはアプリの登録ユーザーにのみ送信すると記載されています。お問い合わせフォームに入力する訪問者は通常、登録ユーザーではありませんので、おそらくご自身でメールやTelegramを通じてそのメッセージを受け取りたいと思われるでしょう。

訪問者はログインせずにフォームを利用できますか?

はい。フォームはFormgongに直接送信されるため、アプリの公開ページでも動作します。

Formgongは私のBase44アカウントへのアクセス権を必要としますか?

いいえ。変更されるのはフォームのコードのみです。FormgongがBase44に接続することは一切ありません。

無料ではじめる