Problem with contact form- resolved

Hi @TrevReav , to complete your intervention, each value has a name and often the values are 1,2,3,4 depending on the number of choices in the list. When we send an email with the site we receive on the host only the value or position and not the name. In the same way we receive :

You have received a new message.
Name_32201: Laura Moron-rey
Email_32201: test@tes.fr
Select_1240: 2
Message_32201: tets
Optin_32201: true

I think that the subject must have been treated

Ah, Ok, just my thoughts, sorry not to be able to help.

No problem. It’s already nice to be able to help me, I appreciate your initiative :wink:

I could be wrong but I think the rule you had there is intended to disallow access to files with the extension as specified in the rule, usually used for example if you have a directory with files you are experimenting with and don’t wan to be accessed

However having such rule in the main htaccess would likely render the entire site inaccessible

So it shouldn’t be a security problem removing that rule.

But I’m not an expert on this, just from what I know usual htaccess rules in the root won’t include such restrictions.

So you should be fine …

Thank you for your feedback to my question and it reassures me a lot what you say. Indeed it was to secure a little more but the site works and I even personalized the reception of the mail by removing what bothered me above with values like name_33201, email_33201 etc :v:

In case, there would be people who would seek to customize the mail reception and remove the names of each block followed by the ID of the form, it is necessary to go to the folder “include” edit the file "form_(ID of your form) " Go to the bottom of the page in the part create a mail and you change only the names before the “:”.
For example if you have Name_3301:$name_3301, you can modify by Client Name: $name_3301, etc

Attention for those who have selector: If you want to know what choice the customer has made, you must go in blocks edit the selector and for each option give the value of your selection and not numbers because otherwise you will receive the mail from a future customer with “selection :2”.

Good idea to highlight this. I’ve always done that, but if you’re not use to forms it might not be so obvious.

@PeteSharp. For my part it’s fine, it’s just that you have to understand how BLOCS works and its interactions. I’ve set myself a goal of making a site with BLOCS for a friend. Now I will be able to give myself other goals and create other sites with different needs and I will be super comfortable. :+1: