Documentation

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:

  1. Finds every form on the site
  2. Changes their action to form-handler.php
  3. Adds the form-handler.php file to the archive
  4. 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

FormWhat 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 formNot 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

Email

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:

  1. Open the site (or preview)
  2. Fill in and submit the form
  3. 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.

Try migration for free

One page — free, no sign-up. See the result in a minute.

Migrate a site