Bot Detected & Changing Form Fields

3 replies·opened May 6, 2021
B
bonnlahoutiMay 6, 2021

Hello,

I have used the cavas themes for many websites ive built. I've always just updated the following code with the proper email addresses and they've worked, but for some reason my new site https://knwagency.com/index.html#form is throwing a "bot detected..." error. Its the first time im using the SEO Niche Demo as the site and this form is short and includes "website" as a required field. I need to change that to "message as well". Is all i have to do to change that just change the text to "website?

2 questions there. The main one is the Bot Detected error. I've reviewed the Documentation > Forms page and everything looks like its configured correctly.

/*-------------------------------------------------
	Receiver's Email
---------------------------------------------------*/

$toemails = array();

$toemails[] = array(
				'email' => 'bonn@knwagency.com', // Your Email Address
				'name' => 'Bonn Lahouti' // Your Name
			);

/*-------------------------------------------------
	Sender's Email
---------------------------------------------------*/

$fromemail = array(
				'email' => 'bonn@knwagency.com', // Company's Email Address (preferably currently used Domain Name)
				'name' => 'KNW Agency' // Company Name
			);
S
SemiColonWebSTAFFMay 7, 2021

Hello,

Thanks for your Patience!

Apologies about the Inconveniences regarding this. There is a slight mistake in the Default SEO Template as the Honeypot SPAM Detection is missing from the Form's Codes. Simply replace replace the Form Codes in this File with the following code:

<div class="form-widget">
	<div class="form-result"></div>
	<form class="row mb-0" id="template-contactform" name="template-contactform" action="include/form.php" method="post">
		<div class="form-process"></div>
		<div class="col-12 form-group mb-3">
			<label for="template-contactform-name">Name:*</label>
			<input type="text" id="template-contactform-name" name="template-contactform-name" class="form-control input-sm required" value="">
		</div>
		<div class="col-12 form-group mb-3">
			<label for="template-contactform-email">Email Address:*</label>
			<input type="email" id="template-contactform-email" name="template-contactform-email" class="form-control input-sm required" value="">
		</div>
		<div class="col-12 form-group mb-4">
			<label for="template-contactform-website">Website:*</label>
			<input type="text" id="template-contactform-website" name="template-contactform-website" class="form-control input-sm required" value="">
		</div>
		<div class="col-12 form-group d-none">
			<input type="text" id="template-contactform-botcheck" name="template-contactform-botcheck" value="" class="sm-form-control" />
		</div>
		<div class="col-12 form-group mb-0">
			<button class="button button-rounded btn-block nott ls0 m-0" type="submit" id="template-contactform-submit" name="template-contactform-submit" value="submit">Apply Now</button>
		</div>

		<input type="hidden" name="prefix" value="template-contactform-">
	</form>
</div>

This will definitely fix the issue. Hope this Helps!

Additionally, you can only use 1 License of Canvas on 1 Website. For each additional website you will need to Purchase an Additional License.

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

B
bonnlahoutiMay 8, 2021

It Worked!!!! Thank you so much.

I'll make sure to purchase more licenses going forward. Thank you very much for your help. I love the product.

S
SemiColonWebSTAFFMay 8, 2021

Hello,

Very Happy to Help!

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

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