Hello Team,
I need to create Form where client could check more than 1 services. What I have to use Radio or Checkbox?
With Radio I can send it to the mail body but client can choose ONLY ONE service (I need to be allowed more than 1). If I create Checkbox - than how than to add it email body.
https://ibb.co/crSNqb3
Form Builder
4 replies
Hi there!
Would you please check if the following conversation helps you:
https://www.joomshaper.com/forum/question/4399
Best Regards
Dear Rashida,
This is exactly my case but there is no written how to add to the email body all of the options. I have 10 options. Is that mean that every email will show 10 options?
How to write correct in the EMAIL BODY so I will get ONLY the OPTIONS that client will choose?
Thank you
Michelle
Michelle, generally you have to add new fields to your e-mail template for every checkbox. Start with adding "New item" to your form, then choose Checkbox. Then you will see a button for adding new checkboxes. In every checkbox's settings (gear icon) you will have two fields: Checkbox Label - where you have to describe your option, and Field Name - where you have to add a UNIQUE name for every checkbox ("You must write field name with hyphen(-) with lowercase. No space, UPPERCASE, Capitalize is not allowed. This name should match with Form template value. Never keep empty this name").
Example of field naming:
Checkbox Label: Option no. 1 > Field name: checkbox1
Checkbox Label: Option no. 2 > Field name: checkbox2
Checkbox Label: Option no. 3 > Field name: checkbox3
Checkbox Label: Option no. 4 > Field name: checkbox4
Checkbox Label: Option no. 5 > Field name: checkbox5
Finally, you have to make/update your email template by adding string for every checkbox with that UNIQUE name, placed between double brace like {{unique-name}}.
Example of template:
<p>Options selected by the client:</p>
<p>{{checkbox1}}</p>
<p>{{checkbox2}}</p>
<p>{{checkbox3}}</p>
<p>{{checkbox4}}</p>
<p>{{checkbox5}}</p>
As a result, only the selected checkboxes' labels will be sent in the message. So if the client only chose options 1, 3 and 5, the message will only contain those labels.
Example of email:
Options selected by the client:
Option no. 1
Option no. 3
Option no. 5 Hi Michelle,
How is right!
The following video tutorial will also help you to understand about the email template format I hope:
https://www.youtube.com/watch?v=XQ3ZITh9JCk
Thanks @How for your collaboration here.
Best Regards