نموذج تواصل لـ 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.

ابدأ مجانًا