Hi everyone!
Iβve created a simple and clean contact form using Anvil, intended as a public demo. Anyone can try it out, and submitted messages are sent to a shared inbox β no login or email account required.
Live demo:
https://anvil-contact-form-demo.anvil.app
View messages here (open inbox):
https://maildrop.cc/inbox/?mailbox=anvil-contact-form-demo
Features:
- Very simple validation of name, email, company, phone, and message
- Saves submissions to a Data Table
- Sends unsent entries via a background task
- Clean notification messages and error handling
Embed this form
Ofc, You can embed the form on a static website like Wordpress, Mobirise, Google Sites etc.
<script src="https://anvil.works/embed.js" async></script>
<iframe style="width:100%;" data-anvil-embed src="https://anvil-contact-form-demo.anvil.app"></iframe>
Tip: If youβre embedding in Google Sites, use a plain <iframe>
instead (without the script), since Google Sites blocks external JavaScript.