Features
Forms and Submissions
On a website builder, forms work through the builder's servers. After migration those servers are gone — so Webrelay adds its own form-handler.php handler and sets up email and Telegram notifications.
How it works
During migration, Webrelay:
- Finds every form on the site
- Changes their
actiontoform-handler.php - Adds the
form-handler.phpfile to the archive - For stores, adds a cart interception script
When a visitor submits a form, form-handler.php receives the data, sends an email to your address and a message to Telegram.
Which forms get redirected
| Form | What happens |
|---|---|
Form with an external action (https://…) | Redirected to form-handler.php |
Form with an empty action or # | Redirected to form-handler.php |
Form with a local action (/submit.php) | Left unchanged |
| Search form | Not touched |
Forms on Craftum and mottor
On Craftum and mottor, the static HTML has no <form> tags — the fields are drawn by JavaScript. Webrelay opens the page in a real browser, waits for the fields to appear, and wraps them in working <form action="form-handler.php">. For Tilda this isn't needed — its forms are already in the HTML.
Store and cart
The builder's cart sends the order to its API, which won't exist after migration. The store-cart.js script:
- Intercepts requests to the builder's API (Tilda Store, Craftum, mottor)
- Collects the cart contents from the DOM and the customer's data from the form
- Sends the submission to
form-handler.php - Shows a "Thank you for your order" window (in Russian or English — depending on the site's language)
Notifications
The email is always sent — via the standard mail() function on the hosting. Make sure your hosting allows sending mail.
Telegram
Submissions can be received in Telegram:
- On a subscription — through the ready-made Webrelay bot, nothing to configure
- On a package and a subscription — you can connect your own bot
For Russia, delivery goes through a Cloudflare proxy so messages arrive without a VPN.
Testing forms
After migration, be sure to send a test submission:
- Open the site (or preview)
- Fill in and submit the form
- Check that the email arrived and/or the Telegram message came through
If the email doesn't arrive, it's almost always because the hosting blocks mail(). Ask your hosting support whether mail sending is enabled.
FAQ
Where do submissions go after migration?
To email and Telegram. They're processed by the form-handler.php file that Webrelay puts into the site archive.
Do I need to configure anything manually?
Email and Telegram notifications are set up in Webrelay before migration. The files are uploaded to the hosting ready to go — no extra configuration is needed.
Why aren't form emails arriving?
Most often the hosting blocks the mail() function. Check in your hosting panel whether mail sending is allowed, or use Telegram notifications.
Will the online store cart work?
Yes. The store-cart.js script intercepts checkout, collects the products and customer data, and sends the submission to email and Telegram. Server-side online payment must be connected separately.
Is English supported?
Yes. The order confirmation window and messages are shown in Russian or English depending on the page's lang attribute.