Contact Form Issue

6 replies · opened Apr 7, 2016

Sshui726Apr 7, 2016

Where can I modify the email address that receive the submitted form content? Thx.

Sshui726Apr 7, 2016

I need to remove some fields. Can you tell me where are the validation codes located? It keep saying i have fields unfilled. Thx.

SSemicolon WebSTAFFApr 7, 2016

Hello,

  • You can add your Email Address in the include/sendemail.php File. Simply find the following code and change your Email Address:
$toemails[] = array(
		'email' => 'username@website.com', // Your Email Address
		'name' => 'Your Name' // Your Name
	);
  • Please let us know which Fields would you like to Remove so that we can provide you with the Accurate Codes. Thanks for your Patience.

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

Sshui726Apr 8, 2016

Thx for your help, appreciated.

As time is limited, we decided to leave all fields there without customization. However, we faced another problems that the form message is not showing correctly if users entered Traditional Chinese content. The message content in the received email is not readable. Also the successfully sent message appearing in the website after user clicked submit is not readable too. Please help.

SSemicolon WebSTAFFApr 8, 2016

Hello,

You will 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 fix your issue. Let us know if we can help you with anything else or if you find any further issues.

Sshui726Apr 9, 2016

Thx.
The first problem is solved.

However, the successfully sent message that appear on the frontend right after user clicked submit is still not showing correctly. Any idea?

SSemicolon WebSTAFFApr 9, 2016

Hello,

It appears like you will need to Save the include/sendemail.php File appropriately too in the correct format. This is also a Possible Issue of your HTML Editor. Consider using Sublime Text. Additionally, we would like to confirm that this is not an Issue with Canvas itself and you will facing the same issue while using any other Template.

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