טופס יצירת קשר ל-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. הוא מבקש טופס ממשק משתמש ששולח נתונים ל-Formgong, ללא ישות חדשה או אינטגרציה עם SendEmail.
  3. הצג תצוגה מקדימה של האפליקציה ושלח הודעת בדיקה.
  4. פרסמו ושלחו בדיקה נוספת מהכתובת הפעילה, ולאחר מכן חברו את Telegram בהגדרות הטופס של Formgong.

מדריך צעד אחר צעד בתיעוד

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 באופן מיידי.

שאלות ותשובות

למה לא להשתמש ב-SendEmail המובנה של Base44?

בתיעוד של Base44 נכתב ש-SendEmail שולח הודעות רק למשתמשים רשומים באפליקציה. מבקר שממלא טופס יצירת קשר בדרך כלל אינו משתמש רשום, וכנראה תרצו לקבל את ההודעה בעצמכם, במייל או ב-Telegram.

האם מבקרים יכולים להשתמש בטופס מבלי להתחבר?

כן. הטופס נשלח ישירות ל-Formgong, ולכן הוא פועל בדפים הציבוריים של האפליקציה שלכם.

האם Formgong זקוק לגישה לחשבון Base44 שלי?

לא. רק קוד הטופס משתנה. Formgong לעולם אינו מתחבר ל-Base44.

התחילו חינם