Sign-up form widget
One script tag checks the email field of your sign-up, trial and newsletter forms while the visitor types. Typos get a one-click fix, disposable and invalid addresses get a clear hint, and only real emails reach your list.
- Uses your Skrap credits
- All plans, including Free
What you can do
Real-time typo fixes
“Did you mean ann@gmail.com?” under the field. One click fixes it before the sign-up is lost.
Verified before submit
Invalid and disposable addresses get a clear hint and can stop the form. Risky ones can show a softer note.
Daily credit cap
Valid or Risky answers use 1 credit, like a single verification; the rest are free. A daily cap per key keeps a busy form in budget.
Secure on a public page
A widget key that only works on your domains, limited per key and per visitor. Your secret API key never goes in the page.
Set up in minutes
Three steps from zero to results.
Create a widget key
In the Skrap app, open Integrations → Sign-up form widget and create a key. Add the domains your forms run on and a daily credit cap.
Paste the snippet
Copy the script tag with your key and paste it before </body> on your site, or once in your site's footer code.
Test your form
Type a typo like name@gmial.com in your form. The hint shows under the field; the live preview in the app shows the same.
Add it to your site
Paste the script tag once, before </body>. Every email field on the page is checked; replace the key with your own widget key.
<!-- Skrap sign-up form widget: paste before </body> --><script src="https://skrap.ai/widget.js" data-key="pk_your_widget_key" async></script>Options
Set them as attributes on the script tag. All are optional except the key.
| Attribute | Default | What it does |
|---|---|---|
| data-key | Required | Your widget key (pk_…). Never your secret API key. |
| data-fields | input[type="email"] | CSS selector of the inputs to check. |
| data-block | invalid,disposable | Answers that stop the form from being sent. Add typo, risky or unknown, or use none to only show hints. |
| data-msg-invalid | This email address does not look valid. | Hint for an invalid address. |
| data-msg-disposable | Please use a permanent email address, not a disposable one. | Hint for a disposable address. |
| data-msg-typo | Did you mean {suggestion}? | Hint for a typo. {suggestion} becomes the one-click fix. |
| data-msg-risky | (no hint) | Optional hint for a risky address, such as a catch-all domain. |
Match your design
Hints inherit your form's font. Set these CSS variables on the form or any parent to change the colours and spacing. The hint element has the class skrap-hint and no specificity, so your own CSS always wins.
1/* Any ancestor of the form works; these are the defaults. */2form {3 --skrap-hint-font-size: 13px;4 --skrap-hint-gap: 4px;5 --skrap-hint-color: #4b5563;6 --skrap-hint-error: #b42318;7 --skrap-hint-warn: #8a5a00;8 --skrap-hint-ok: #067647;9 --skrap-hint-link: #1d4ed8;10}WordPress and Webflow
No plugin needed: the widget is one script tag in your site's footer code.
WordPress
- 1Install a header and footer code plugin, such as WPCode or Insert Headers and Footers.
- 2Paste the snippet in the Footer box and save. Or add it before </body> in your theme's footer.php.
- 3For one page only, add a Custom HTML block (Gutenberg) or an HTML widget (Elementor) with the snippet.
- 4Add your site's domain to the widget key's allowed domains.
Webflow
- 1Open Site settings → Custom code and paste the snippet in Footer code. For one page only, use Page settings → Before </body> tag.
- 2Save and publish the site: custom code only runs on the published site.
- 3Add both your webflow.io staging domain and your custom domain to the widget key's allowed domains.
Credits and safety
- Same price as a single verification: 1 credit for a Valid or Risky answer. Invalid, Unknown, typo and disposable answers are free.
- Typos, bad syntax and well-known disposable domains are caught in the browser, with no request and no credit.
- A daily credit cap per widget key. When it is reached, the widget stops checking until the next day and forms keep working.
- The key only works on the domains you allow and is rate-limited per key and per visitor IP, so it cannot be reused elsewhere.
- Your secret API key is never used on the page. The widget refuses to run with one.
Popular workflows
What teams build with Skrap and Sign-up form widget.
- 01
- Visitor types an email
- Verify it in real time
- Only real addresses reach your CRM
- 02
- Newsletter form
- Block disposable addresses
- Fewer bounces on your first send
- 03
- Free-trial form
- Catch typos like gmial.com
- No lost sign-ups
Sign-up form widget FAQs
Questions about Sign-up form widget
Like a single verification: 1 credit when an address is Valid or Risky. Invalid, Unknown, typo and disposable answers are free, and typos and well-known disposable domains are caught in the browser without asking Skrap. A daily cap on the key stops spending at the number you choose.