Code

Discussion on Advanced PHP, HTML5 & AJAX Contact Form

coderpixel

coderpixel does not currently provide support for this item.

40 comments found.

Is it possible to insert a facebook pixel code for conversions when a form is succesfully sent? Where/how can I do it?

Please read the facebook pixel guideline, add the pixel script to the head like this screenshot: https://prnt.sc/gyckjy

Now integrate it with our contact form. go to contact-form/assets/js/contact.js and add the pixel event code there like this screenshot: https://prnt.sc/gycggi under line number 314.

If you have any other problem let us know. Thanks!

Hello!

Since a few days I’m receiving emails with the following content:

<style>.cp-acf-table { border:solid 1px white; border-right: 0; }.cp-acf-table th, .cp-acf-table td { border-bottom: solid 1px white; border-right: solid 1px white; padding: 10px 15px; text-align:left; }.cp-acf-table th { background: #00E672; color: white; font-weight:bold; }.cp-acf-table tr:last-child th, .cp-acf-table tr:last-child td { border-bottom: 0; }</style><table class="cp-acf-table" cellpadding="0" cellspacing="0" border="0" /><br /><br />

This did not happen until two weeks ago. What is that? Looks like half-failing spam attempts. Correctly filled out entries of my form still arrive the way they should.

Hi,

Please provide your FTP details to our support email support@coderpixel.com with your problem. Then we will fix your problem.

Thank you.

Hey i have one question how can i have the form multiple forms on the page ? do i need to change an id or a class? because each form is different, do i copy a the form and change only the inputs ?

This may be a dump question but i am a beginner thanks :)

Yap, sure!

Hey one more question when i have multiple forms on the same page the recaptcha verification appears only once any idea why?

Yap, you can’t use google recaptcha more then once in one page. as google doesn’t support it.

Thanks!

Hey, i sent a mail including our ftp informations to you.

it is my webpage : www.primevize.com

I uploaded all frontpages. You can check in publichtml files. Also you can chech test5 folder. However you want.

I will wait your message.

Thank you

Please check your email inbox. Thanks!!

Hi, my contact form not working. http://ismailogluhali.com/onur/index.html There is no sample smtp configuration in the document.

Hi,

The smtp configuration is server side related, so you will find this in the contact-form/config.php file at the very bottom.

Thanks!

I cannot get this item to work. I simply have a email account. What else do I need to look for?

Please check the application documentation. Then you will find everything. Thank you.

Hello, Please, how I can validate and manage new items in the form? For example, I would like to add an item like a checkbox.

Thanks Sebastian

Hello, I’ve purchase and downloaded this and got it to work but I cannot get it to work if I move the source files to a folder within a folder (even after changing the paths of all the scripts in the index). Is this not possible to do?

Hello I have purchased your contact form because I would like a contact form that returns results in the same page, which is great. I love it. The only issue is that I have to setup a conversion tracking code to track when somebody uses the contact form. Is it possible to have the success page ($user_data[‘redirect_url’] = ’’; ) open in an iframe or in a hidden window so that I can track that page but without ever leaving the page on which the contact form appears? or, alternatively, is it possible to add a conversion tracking pixel or code that is only triggered when the form is successfully used??? Thank you

Hi Support, with Google Captcha Integration the form won’t send. Something blocks. The General Error is shown. The Google Re-Captcha website and secret Keys are integrated like it is told in the documentation. What is the problem?

Hello Coderpixel, this is sent through the form regularly: <style>.cp-acf-table { border:solid 1px white; border-right: 0; }.cp-acf-table th, .cp-acf-table td { border-bottom: solid 1px white; border-right: solid 1px white; padding: 10px 15px; text-align:left; }.cp-acf-table th { background: #00E672; color: white; font-weight:bold; }.cp-acf-table tr:last-child th, .cp-acf-table tr:last-child td { border-bottom: 0; }</style>

Can I add field to the form?

If Hebrew is sent, will it be received correctly or in Gibberish?

Hello, How can I align the Email to the right (Output) and extend it to the full width?

Managed to do it myself. I do need to know where I can translate the TD headlines (Name, Email, Phone ETC…) Can’t seem to find where it is configured…

Never mind… Got it to :-)

Hi, How can I make the from email the value the user enters in the field? Please kindly guide me. thanks

can we collect data from any mail (template base) such as name , no, address … many more

Hello! I will be needing to integrate a CRM into the form. Is that possible?

with my server and php version everything is fine. Also i think i have set well config.php. But I get a bug message: undefined

Oops! Your data is unsuccessful: SMTP connect () failed. https: //github.com/PHPMailer/PHPMailer/viki/Troubleshooting Please help me fast

How to build a checkbox

01. Add an new input fild

<input type=”checkbox” name=”privacy” id=”privacy” value=”yes” required>

02. Add this code to “contact.js” -> into “function validateTheField ($field)”

if (!$(‘input[name=”privacy”]’).is(’:checked’) ) { msg = parseMessage(translations.form.error.policy[lang], [name]); return msg; }

03. Add this code to “language.json” into > form> error

“policy”: { “en”: “Accept the privacy policy”, “de”: “Akzeptiere die Datenschutzerklärung.” },

I hope you can help me. First, thank you, Your code is amazing! been working great. But I have an issue every once in a while I get an email with the stylesheet in the body of the email only. Not sure why. struggling with this one. Validation works and everything works in testing but not sure why I get this. Below is what i see in the email body.

<style>.cp-acf-table { border:solid 1px white; border-right: 0; }.cp-acf-table th, .cp-acf-table td { border-bottom: solid 1px white; border-right: solid 1px white; padding: 10px 15px; text-align:left; }.cp-acf-table th { background: #90ddfa; color: white; font-weight:bold; }.cp-acf-table tr:last-child th, .cp-acf-table tr:last-child td { border-bottom: 0; }</style>



Hi, still having the same issue from above. Can you email me when you will have time to look into this. It is the same issue you have solved for other client “jackennils” about 1 year ago.

I would like to request a refund. I contacted Envato and they told me to request for one since you have not responded to me or them.

by
by
by
by
by
by