Contact form issue

4 replies · opened Jul 30, 2017

Kkont-accJul 30, 2017

Hi
I have a problem with contact form:
I fill up all fields - then I click Submit button - and then it takes for 30-40 seconds to show the message that "We have succesfully received your message".
Duting that time user can click submit button many times, and all the time the messege will send.
Is that possible to make something to make user understand that the sending is in process. For example:

  • show the message "We have succesfully received your message" right after Submit button clicking
    or
  • make some preloader to spin wile sending is in process
    or
  • diable the Submit button
    or something like that.
    Please check out the contact form on my website - http://barg.thirdcenturyfoundation.org/contact.html
    Thank you.
SSemicolon WebSTAFFAug 1, 2017

Hello,

The Default Form already has this Functionality: http://themes.semicolonweb.com/html/canvas/contact.php .

So, you can simply add the following code inside the <form> Tag:

This will definitely work fine. Hope this Helps!

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

Kkont-accAug 2, 2017

Thank you very much! It works!
Can you please help me with one more thing - as you see my site is in russian language, so this is cyrillic. And when user fills up the contact form fields "Name" and "Subject" in russian using cyrillic letters, I receive this e-mail with decoded characters in fields "From" and "Subject". In the text of the e-mail everything appers correctly. Please see attachment.
How can I change this character encoding in the way that cyrillic characters will apper properly?
Thank you.

SSemicolon WebSTAFFAug 5, 2017

Hello,

You will simply have to set the Encoding Type for the Email in the include/sendemail.php File. Please find the following code:

$mail->MsgHTML( $body );

and replace it with the following code:

$mail->MsgHTML( $body );
$mail->CharSet = "UTF-8";

This will definitely work fine. Hope this Helps!

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

Kkont-accAug 5, 2017

Thank you very much!
Everything is OK now!
Best regards!

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