Contact Form and Newsletter Signup Builder

Two forms for your site, with Hebrew validation and lawful consent

The two forms a business site needs, as one block of code to paste with no external library. Contact form: pick the fields, pick where enquiries go, and get a form with validation in Hebrew, a check on Israeli phone numbers, a hidden spam trap instead of a CAPTCHA, and consent boxes left unticked by default. And a newsletter signup form: the very same code, but with a marketing consent box that is a required field, because Israeli communications law allows marketing only after explicit consent and the burden of proving it falls on the sender. There is no second box there, because two consents in a row are what train people to tick without reading. In both modes the code includes styling, error messages under the field that failed, and labels a screen reader announces correctly.

Frequently asked questions

What is the difference between the two forms?

In the contact form the consent is about handing over details, and the marketing box is optional. In the newsletter form the marketing consent is a required field, because without it there is no signup, and there is only one box.

Why must the marketing consent be required?

Because Israeli communications law permits marketing messages only after explicit consent, and the burden of proving it falls on the sender. A box you can skip produces subscribers you can prove nothing about.

Where do the enquiries go?

Wherever you choose. Formspree and Netlify Forms are free services that forward the enquiry to email without writing a server, and you can also point at your own endpoint, including a mailing platform.

Do I need to know how to code?

No. Paste the whole block where the form should appear. The styling, the checks and the script are all inside it, and nothing needs installing.

What should I store for each subscriber?

The date and time of the signup and where it came from. Those are what prove consent if someone claims they never signed up, and without them the dispute always lands on you.

More tools you might need

All tools in AI Website Builders