Question about the contact form

13 replies · opened Jun 7, 2016

MMikeJun 7, 2016

Before I start, please I want to insist that I am really not professional, so I would really appreciate that you detail to the maximum your answers, thanks !

Hello, on my page : PLEASE SEE LINK IN NEXT MESSAGE IT IS ON THIS PRECISE URL

here is what I need to make work before uploading my website :

1 / how to justify all the text that appears in the alert inline window ? 'your email have been sent etc.' the captcha is invalid etc..

2 / the autoresponder only shows the content of the form, but the text here doesnt show on the email :

		// AutoResponder Message
		$ar_body = "Thank you for contacting us. We will reply within 24 hours.<br><br>Regards,<br>Your Company.";

3 / the accents because my name is french doesnt work, i need to utf 8 decode everything but i dont know how and where to do it, in the autoresponder the subject of the email doesnt utf decode, and also before i open the email i see the content of it as a preview and the content doesnt utf decode 8, the customer receiveds an email not from EDEN BOITES (name) but from ROOT USER.

4 / same than 3 but with the email i receive from the customers in the form, the subject in preview and inside the email doesnt utf 8 decode, and so does all the content of the form, in the preview of the mail and also when i open it.

5 / in the form on my page, the email adress require must force the email to be like this : x@x.x but now it allows it to be x@x without the point and the x (.com, .fr etc....), and also it doesnt recognize as valid an email that has an accent in it, but gmail for instance allows to have a mail adress such as micheltrèsfort@têrible.fr

please help me to fix the 5 questions, i think you wont hear about me after :D haha thanks for everything !

ps : about the required champ in form, it didnt work because i was putting required into the class, and now it works after i put it outside of the class like this : required = ""

MMikeJun 7, 2016

And to make it easier for you, here is exactly the file that I used with the old version of your website, the php file was working perfectly on the old version, and I need the new version to do EXACTLYYYYYYYYYY the same thing please

MMikeJun 9, 2016

Please update me when you can :)

CCristianJun 11, 2016

I have the same problem

SSemicolon WebSTAFFJun 13, 2016

Hello,

We Extremely Apologize about the delay in replying to your Support Queries and Really Really Appreciate your Patience with us.

  1. You can simply add the style="text-align: justify;" attribute to the .contact-form-result Element. However this will work only if you have minimum 3 Lines of Content. Also, this will not work on the Last line. Example:
  1. Please use the Latest Version of the include/sendemail-autoresponder.php File and make sure that the $autoresponder->MsgHTML( $body ); Line of Code has been replaced with $autoresponder->MsgHTML( $ar_body ); .

  2. & 4. Please find the following code in the include/sendemail-autoresponder.php File:

$mail->MsgHTML( $body );
$autoresponder->MsgHTML( $ar_body );

and replace it with:

$mail->MsgHTML( $body );
$autoresponder->MsgHTML( $ar_body );
$mail->CharSet="UTF-8";
$autoresponder->CharSet="UTF-8";
  1. This is actually the Default Functionality of the jQuery Validation Plugin: https://jqueryvalidation.org/ . You can alternatively enforce Browser Email Validation by replacing the Existing Email Input Code with the following code:

This should definitely work fine. Do let us know if we can help you with anything else or if you find any further issues with Canvas.

MMikeJun 13, 2016

about question 5, it doesnt work, it still validate when i put an email like this info@aol

but it needs to force the customer to put info@aom.COM like, it must not validate x@x, but it needs to validate x@x.x please

MMikeJun 13, 2016

why do I get an error in the code :

                        <div class="col_half col_last">
                            <label for="template-contactform-genrebv">GENRE BV <small>*</small></label>
                            <select id="template-contactform-genrebv" name="template-contactform-genrebv" class="sm-form-control" required />
                                          <option value="">-</option>
	                                      <option value="MANUELLE 4VIT.">MANUELLE 4VIT.</option>
	                                      <option value="MANUELLE 5VIT.">MANUELLE 5VIT.</option>
	                                      <option value="MANUELLE 6VIT.">MANUELLE 6VIT.</option>
						                  <option>-</option>
	                                      <option value="AUTOMATIQUE 4VIT.">AUTOMATIQUE 4VIT.</option>
	                                      <option value="AUTOMATIQUE 5VIT.">AUTOMATIQUE 5VIT.</option>
	                                      <option value="AUTOMATIQUE 6VIT.">AUTOMATIQUE 6VIT.</option>
	                                      <option value="AUTOMATIQUE 7VIT.">AUTOMATIQUE 7VIT.</option>
						                  <option>-</option>
						                  <option value="AUTRE">AUTRE</option>
                            </select>
                        </div>

the last </select> makes an error it says : tag must be paired no start tag </select>

MMikeJun 13, 2016

ok I will leave it this way, and why does it make an error please see the last post I think we answered in the very same time :)

MMikeJun 13, 2016

i put back the code that displays an error :

div class=”col_half col_last”>
<label for=”template-contactform-genrebv”>GENRE BV <small>*</small></label>
<select id=”template-contactform-genrebv” name=”template-contactform-genrebv” class=”sm-form-control” required />
<option value=””>-</option>
<option value=”MANUELLE 4VIT.”>MANUELLE 4VIT.</option>
<option value=”MANUELLE 5VIT.”>MANUELLE 5VIT.</option>
<option value=”MANUELLE 6VIT.”>MANUELLE 6VIT.</option>
<option>-</option>
<option value=”AUTOMATIQUE 4VIT.”>AUTOMATIQUE 4VIT.</option>
<option value=”AUTOMATIQUE 5VIT.”>AUTOMATIQUE 5VIT.</option>
<option value=”AUTOMATIQUE 6VIT.”>AUTOMATIQUE 6VIT.</option>
<option value=”AUTOMATIQUE 7VIT.”>AUTOMATIQUE 7VIT.</option>
<option>-</option>
<option value=”AUTRE”>AUTRE</option>
</select>
</div>

the last </select> makes an error it says : tag must be paired no start tag </select>

MMikeJun 13, 2016

IT SEEMS THAT I HAD TO TAKE OUT THE \ IN THE LINE

<select id=”template-contactform-genrebv” name=”template-contactform-genrebv” class=”sm-form-control” required />

THAT NOW BECAME

<select id=”template-contactform-genrebv” name=”template-contactform-genrebv” class=”sm-form-control” required >

AND IT WORKS FINE

I THINK IT WAS THE RIGHT SOLUTION ? :)

SSemicolon WebSTAFFJun 14, 2016

Hello,

Yes you are Correct. This will work fine and is the Right Solution.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard