I just created and tested a custom contact form using the input elements from Editor X. Every form submission sends the data to the content manager database (collection) but I need the submitted messages to be sent to an email, just like most of the contact forms… Please tell me how to do that.
Wix has some functionality to do this.
It is called “Triggered Email”.
To use this functionality turn on Dev Mode. Then open dev tools in dashboard, then open Triggered Emails.
Here you can create a template with your mail that will be sent under some trigger (for example, click on “submit” button).
Template is able to have different variables. The variable is from velo IDE, where you write code. For example, the user types some text into some input or textarea, then the input.value or textarea.value goes to this variable, and then its value goes to the template mail. And after submitting the form the user receives email (he should point out his mail, where the template mail with text from variables will be sent)
You will have to add code to your site -
to create variables, to save input values to these variables