To receive form submissions from your sites, you first need to connect your site to an Inbox in CloudCannon.
To connect your site to an Inbox:
Now create a form on your site and configure it to submit to one of your connected Inboxes.
To create a form:
inbox_keyand set its value attribute to the key you gave your Inbox. If you don’t include this input, the submission will be sent to the default Inbox connected to your site.
Any CloudCannon form can use the
_gotcha field to help prevent untargeted spam. CloudCannon does not accept a submission if this field has a value. Hide it with CSS to prevent visitors from filling it out.
You can also use CloudCannon Forms to receive file uploads from visitors to your site.
To setup file uploads on your form:
inputelement to your form with the
typeattribute set to
Now when visitors to your site submit a file through your form, CloudCannon will save that file and then replace it with a link that you can use to access the file.
File submissions through CloudCannon have the following limitations: