Installation
Step 01: Get Access Key
First step is to get an Access Key from Web3Forms. Create Access Key
Once you submit the form, you will get the Access key in your Email. Copy that key so that we can use this later.
Step 2: Create HTML Form
Create a form in your website with our form endpoint inside action attribute. Following is a simple example on how it should look like:
<form action="https://api.web3forms.com/submit" method="POST">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY_HERE">
<input type="text" name="name" required>
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<input type="hidden" name="redirect" value="https://web3forms.com/success">
<button type="submit">Submit Form</button>
</form>
Step 3: Add your Access Key
Add your access key to start receiving email submissions.
<input type="hidden" name="apikey" value="YOUR_ACCESS_KEY_HERE">
Step 4: Done
That's it. Run your code on a browser and it should work. This is a simple starting example. However you can customize it with unlimited possibilities. Checkout other pages to know more.
Last updated
Was this helpful?