Category : forms

After checking with recaptcha I want to send info to another page. If I print in the console the info they are visible but if I send that and I get by post they are undefined var payload = { name: ‘<?php echo $name ?>’, email: ‘<?php echo $email ?>’ }; console.table(payload); var form = ..

Read more

I’m trying to merge two input fields first name + last name into a single one ‘name’ via DOM manipulation. What would be the possible way to allow the form to validate correctly? I did create a new object function Person(){ } Person.prototype.fname=function(){ return } Person.prototype.lname=function(){ return } Person.prototype.fullname=function(){ return this.fname() + " " + ..

Read more