To create a Form for which we want to send via E-mail or SMS, we can use the following option:
Let's create a type DETAIL screen.
* NOTE: THE DETAIL SCREEN IS THE ONLY ONE THAT ALLOWS US TO CREATE A CONTACT FORM AND TO USE THE FIELDS THAT CHARACTERIZE IT.
In this screen we can insert all the elements we need to give it the look we prefer: images, header images, background images, separators, texts etc.
In this example we will use 3 FIELDS:
1. We will assign to the first one a Reference Name: “name” and as Data Type we will choose: “Text”.
2. We will assign to the second one a Reference Name: “Email” and as Data Type we will choose: “Text”.
3. Finally we will assign to the third one a Reference Name: “message” and as Data Type we will choose: “Text”.
Once we have inserted the fields we need, we will create a SEND button and we will give it the action: SUBMIT FORM.
When assigning the action, a “Properties” button will appear.
When clicking on it, a window will appear where we can choose to either send the form via a Script or via SMS.
HOW TO CONFIGURE THE FORM SUBMISSION
Once we have created the design of the screen, we can finally choose how to send this form.
To set the submission of a form there are 3 options we can use:
1. CLOUD FORM:
Once we have designed the structure of the screen with the form, we can link it to the Cloud, an external server offered by Mobincube in the following subscription plans: M, L , XL y XXL. To learn how to connect the form to the Cloud, read the following article: Cloud: Forms
2. SCRIPT:
If we are not using the Cloud as an external server to connect to our form, we can use another option.
We'll have to send the form through a script that we will store in our server and will send from our e-mail.
Finally we have to insert that URL to the action "Send form", so that the form will send the mails to the email address that we have indicated in the URL.
3. SMS
If we want to send the form via SMS, we have to choose "Send an SMS".
A window will appear. This is where we set the sending form options.
We can indicate which field will contain the phone number, in the event that we give the user the option to define it in one of the fields.
If it is always the same number, we define it in the equivalent field (the second).
Finally, in the last field we will write the message to be sent.
If we want the user to write the message, we will insert a field onto our screen for this purpose and here we will refer to this field through the reference name, defined in our field.
We should do that as follows: {FieldReferenceName}
If we prefer to send a download link, we will pass on a URL as follows: {URL}
Finally we press the "ACCEPT" button and the form is ready to be filled and sent to the email or the telephone number provided.
4. Mailto
To use mailto we do not need to use the action send form, instead we will use the action Open URL.
Then in the URL set: mailto:mymail@gmail.com?subject=Manuale&body=Ciao_hello
I used this example:
and I used this link:
mailto:your@email.com?subject=Formum&body=Name: {var.Name} Email: {var.Correo} Mensaje: {var.Mensaje}
Do not forget to change the names of the fields to create the variables to send with mailto.
For this case we have created a video, go to: