Questions tagged as 'formularios'

1
answer

in_array php - poo

I have an object in which there are modules in the form of an array. What I want is that when I click on Select, on the right side they can not appear repeated. It does not give me errors but it does not perform the function that I want....
asked by 25.01.2018 / 20:14
0
answers

PROBLEM Form onchange erases fields already written

good afternoon. I have a problem and I would like to know if someone could give me a cable. I have a form: in certain fields, I use the onchange="this.form.submit ()" property in the select, so that I send the value through $ _POST, save it i...
asked by 10.01.2018 / 18:08
1
answer

I can not send email with php

I am trying to send my form by email, but I can not get it, I have created the mail () function, but it does not send me the email. Attachment code. //Definición de variables $asociacion = $_POST['asociacion']; $nick = $_POST['jug_nick...
asked by 05.01.2018 / 14:14
0
answers

Problem with ReCaptcha and PHP

I have a problem with the ReCaptcha that I have inserted into my form. I have verified that both the public and private keys are correctly written, the links are well placed, and I have reviewed the code of the 'recaptchalib.php' file that I...
asked by 14.02.2018 / 10:03
1
answer

Return button to form with its values laravel

I have not found anything on interenet or if I do not apply it I have a form which has many "select" fields. The form is sent, and the result page has a button to return to the form page. Well, the issue is that I would like that once you click...
asked by 03.01.2018 / 02:11
0
answers

JavaScript validation, HTML form

I have this function to validate a input type="text" of a form. But I get the error:    Can not read property 'value' of null function compruebaCodigo() { //Que el código tiene dos letras. var campoCodigo = document.getElem...
asked by 04.12.2017 / 19:31
1
answer

How to return to a page that you are using POST

I have a form A that sends me to a page with a form B (I get the data of A with the post method), the submit of B makes modifications in a database and then I have to return to B but obviously when putting header ('Location: B.php') I get an err...
asked by 18.11.2017 / 03:33
0
answers

I get an error in the form when I try to save it in the fields that are of selection (radio) how do I solve it?

I have a registration form which worked perfectly for me, now I get errors in the lines on lines 15 21 31 and 32 of the process of saving data, that is to say this: <?php require_once "../php/connect.php"; $hoja_mat=$_POST['hoja_mat...
asked by 10.11.2017 / 15:17
1
answer

Automatic response php form

I have a basic form and I need to know how to configure an automatic response that attaches the corresponding file to "option 1" or "option 2". Can someone help me. Thanks <form action="envio.php" name="envio.php" method="po...
asked by 12.11.2017 / 11:52
1
answer

Edit a form in laravel

Somebody can help me, I do not load the data in the view of editing in laravel. I'm making a query so you know which record to edit .. I have seen that this is often done: $asignacion=C_materia::find($id); $id = $asignacion->idc_...
asked by 10.11.2017 / 01:47