Questions tagged as 'formularios'

1
answer

Error in jQuery, when sending FORM: Maximum call stack size exceeded

Uncaught RangeError: Maximum call stack size exceeded at xb (jquerymin.js:4) at xb (jquerymin.js:4) Hello, I try to send the following form, and I receive this error by console: <form id="form_comentarios" action="POST"> &l...
asked by 07.09.2018 / 17:22
3
answers

Error 401 when sending email with JavaScript and AJAX

I was looking for methods to send emails without PHP or as little as possible by AJAX, and I found a method on the Formspree page. It's very simple, but browsing I found this on GitHub that works perfectly to a certain extent. At the time...
asked by 14.06.2017 / 12:59
1
answer

problem uploading file with ftp_put ()

when using function ftp_put() of php to upload file to an ftp, it actually uploads the file, but it arrives without weight, that is 0 B, I attach the code that I am using (it is not problem of permissions of the folder where I'm sending i...
asked by 03.03.2017 / 14:22
1
answer

How to generate a json of an object that comes from forms.ModelForm

Hi, I would like to create and save an object in the database which has arguments args and kwargs . the arguments args and kwargs must obey the format JSON , I have the following: class ProgramarActividadForm(f...
asked by 20.01.2016 / 14:28
1
answer

Save PHP if all fields are complete

I have a simple html form and a php code that checks that all required fields are complete. If they are all correct, they are saved in a .txt file, if they are not, it shows an error message. My question is how to make it just save the data i...
asked by 08.06.2018 / 04:53
1
answer

Problem with form: PHP Uncaught Error: Call to a member function prepare () on string

I'm testing a form and I get that error on line 21 that says: $stat1 = $db->prepare("insert into about values(?,?,?,?,?)"); The code is like this: <?php $host = 'localhost'; $db = 'form'; $user = 'root'; $dbpass = ''; if(isset($_P...
asked by 12.06.2018 / 04:25
0
answers

How should I make a console.log to see registry errors to the database?

Hello, I am creating an application and when the user registration is done, the data does not reach the database. How and where should I do the console.log or debugger to see the errors? I know that doing console.log or debugger could see the er...
asked by 22.05.2018 / 12:42
0
answers

input type = submit does not work in internet explorer

Hello, I have a form that makes a POST call with a <input type="submit"> to make the call to the server. The fact is that I work correctly in Firefox and Chrome, but not in IE. I have been observing in several threads that to...
asked by 15.06.2017 / 13:02
0
answers

Robots subscribers to Newsletter Mailchimp [closed]

I use mailchimp to implement a form on my websites to make newsletters. These last days I have received many messages from fake users (robots) who have subscribed to my newsletter. To avoid this I have used the reCAPTCHA option to improve the...
asked by 23.01.2017 / 20:09
1
answer

Error SQL query PHP

I am trying to create a registration form but when it comes time to perform the query to add the new user to the database, I do not mark any error and yet this new user does not appear in the table. $SQL = new PDO("mysql:host=localhost;dbname=...
asked by 11.03.2017 / 20:43