The SMS Alert WordPress plugin adds an SMS Alert field type and an SMS Alert form action to the Form widget in Elementor Pro. With them you can send an SMS to the visitor as soon as the form is submitted, send an SMS to an admin number, and ask visitors to verify their mobile number with a one-time passcode (OTP) before the form is sent. Messages can include what the visitor typed, using Elementor’s field shortcodes.
New to the plugin? Install it and connect your account with the WordPress SMS plugin setup guide.
What can you do with Elementor Forms and SMS Alert?
I want to… | Section |
|---|---|
Confirm to the visitor that their form was received | Customer notification |
Alert my team when a form is submitted | Admin notification |
Put the visitor’s name or answers in the SMS | Using field shortcodes |
Verify the visitor’s number before the form is sent | Verify the number with OTP |
Before you start
- Install and activate Elementor, Elementor Pro (or the PRO Elements add-on) and the SMS Alert plugin, and connect your SMS Alert account. The Form widget is part of Elementor Pro, so the free version of Elementor is not enough, and the SMS Alert options appear only when your account is connected.
- Keep SMS credits in your account. Every SMS, including each OTP, uses credits.
- On India routes, the message text must match an approved DLT template. See Convert into DLT Template.
- The admin number is typed into each form’s own settings, not in SMS Alert general settings.
Add the SMS Alert field and action (configuration)
- Open the page that holds your form and click Edit with Elementor.
- Drag the Form widget (in the Pro section) onto the page.
- In Form Fields, click Add Item and set Type to SMSAlert. This is the field the visitor types their mobile number into. You can set its label and placeholder like any other field.
- In Actions After Submit, click the box and add SMSAlert. A new SMS Alert section appears in the form settings.
- Open the SMS Alert section and set up the messages (next sections).
- Click Update or Publish.
If you add the SMSAlert action but no SMSAlert field, Elementor refuses to save and shows “Please add field type SMS Alert in your form.” Each form needs one SMSAlert field.
The SMS Alert section has these settings. They are saved separately for each form.
Setting | Default | What it does |
|---|---|---|
OTP verification | On | Visitors must verify their number with an OTP before the form is sent |
Customer SMS | On | Sends the customer message to the visitor |
Customer Message | “Hello user, thank you for contacting with [store_name].” | Text of the visitor SMS |
Admin SMS | On | Sends the admin message to the admin number |
Admin Phone | Empty | The admin mobile number |
Admin Message | “Dear admin, you have a new enquiry from [store_name].” | Text of the admin SMS |
Switch off any option you do not need. OTP, customer SMS and admin SMS all start switched on.
Using field shortcodes in your message
In both message boxes you can use Elementor’s field shortcodes, the same ones Elementor’s email action uses. To find a field’s shortcode, click the field and open its Advanced tab: the ID and the Shortcode are shown there. Paste the shortcode into your message. When the form is submitted, each shortcode is replaced with what the visitor entered.
Hello [field id="name"], thank you for contacting us. We will call you on [field id="phone"] shortly.The text between the quotes must match the field’s ID exactly. If you change a field’s ID later, update the shortcode in the messages.
Customer notification (visitor SMS)
- In the form’s SMS Alert section, make sure Customer SMS is on.
- Write the Customer Message, using field shortcodes for the visitor’s details.
- Click Update.
The SMS goes to the number typed in the SMSAlert field, right after the form is submitted successfully. It is sent only when Customer SMS is on and the message is not empty.
Admin notification (admin SMS)
- In the form’s SMS Alert section, make sure Admin SMS is on.
- Type the admin mobile number in Admin Phone, with country code.
- Write the Admin Message. You can include shortcodes such as the visitor’s name, number and message.
- Click Update.
New enquiry from [field id="name"], mobile [field id="phone"]: [field id="message"]The admin SMS is sent only when Admin SMS is on and both the number and the message are filled. Admin Phone is empty by default, so no admin SMS goes out until you enter a number.
Note: SMS Alert settings are not included when you export a form as a template. After importing a form, open its SMS Alert section and enter the settings again.
Verify the number with OTP
- In the form’s SMS Alert section, make sure OTP verification is on.
- Click Update.
When the visitor clicks the form’s submit button, SMS Alert sends an OTP to the number in the SMSAlert field and asks for it in a popup. The form is submitted only after the correct code is entered. A visitor who skips verification sees “Your mobile number is not verified yet. Please verify your mobile number.” A wrong code shows “Invalid one time passcode. Please enter a valid passcode.”
Form inside an Elementor popup? In the popup’s Advanced settings, switch on Prevent Closing on Overlay. Otherwise the popup can close before verification finishes.
OTP is sent but the popup does not appear? Switch off Elementor’s element caching for the form, in its Advanced settings. See Elementor’s caching help.
Troubleshooting
Problem | What to check |
|---|---|
The SMSAlert field type or action is missing | Confirm Elementor, Elementor Pro (or PRO Elements) and SMS Alert are all active and your SMS Alert account is connected. Reload the Elementor editor. |
Elementor will not save: “Please add field type SMS Alert in your form” | The form has the SMSAlert action but no SMSAlert field. Add a field and set its Type to SMSAlert. |
No customer SMS is sent | Check that Customer SMS is on, the message is not empty, the form has an SMSAlert field, the visitor filled it and you published the page. |
No admin SMS is sent | Check that Admin SMS is on, Admin Phone has a number and the admin message is not empty. Admin Phone is empty by default. |
A shortcode shows as text in the SMS | The ID inside the shortcode does not match the field’s ID. Copy the shortcode from the field’s Advanced tab. |
The form submits without asking for an OTP | Check that OTP verification is on for this form. Also check that the visitor’s country is allowed in SMS Alert’s country settings. |
“Your mobile number is not verified yet” message | The visitor submitted without entering the OTP. Ask them to verify the number first. |
OTP is sent but the popup does not appear | Switch off Elementor’s element caching for the form, in its Advanced settings. |
The form is in a popup and closes during verification | In the Elementor popup’s Advanced settings, switch on Prevent Closing on Overlay. |
SMS settings are gone after importing a form | Exported forms do not carry SMS Alert settings. Open the form’s SMS Alert section and enter them again. |
The SMS is rejected on India routes | The text does not match your approved DLT template. See Template Mismatch Error. |
Number format errors | Check the visitor’s number and country code. |
Frequently asked questions
What does the Elementor Forms SMS integration do?
It sends an SMS to the visitor and to an admin when an Elementor Pro form is submitted, and can verify the visitor’s mobile number with OTP before the form is sent.
Do I need Elementor Pro?
Yes. The Form widget is part of Elementor Pro. The PRO Elements add-on also works. The free version of Elementor has no Form widget.
Where are the settings?
In the Form widget, add SMSAlert under Actions After Submit. A new SMS Alert section then appears in the form settings.
Are the settings per form?
Yes. Each Form widget has its own OTP, customer and admin settings.
Which field holds the visitor's mobile number?
The field whose Type is SMSAlert. Add it under Form Fields.
Can I include what the visitor typed in the SMS?
Yes. Paste Elementor’s field shortcodes, such as [field id="name"], into the message. Find them in each field’s Advanced tab.
Is anything switched on by default?
Yes. OTP verification, Customer SMS and Admin SMS all start on. The admin SMS goes out only after you enter an Admin Phone.
Does it work for a form inside an Elementor popup?
Yes. If you use OTP, switch on Prevent Closing on Overlay in the popup’s Advanced settings.
Do I need DLT registration?
On India routes, yes. The SMS text must match an approved DLT template.
