Questions tagged as 'formularios'

1
answer

display a list if an ionic option is chosen

I'm making an application in ionic3 to make an income of hours per work area (unit), where there are several projects per area (unit), what I want to realize is that when selecting a unit, only enable me the projects for that unit, I was reviewi...
asked by 25.04.2018 / 01:28
1
answer

Avoid resubmitting form in cake php

I explain the problem, the user fills out the form and if you press f5 or update the page, the data you just entered is reinserted exactly the same, one of the options would be to validate that the id is not repeated, but in this case It is not...
asked by 11.04.2018 / 22:30
3
answers

Compare value of a select with a value of an input using if-else

I am a newbie programming in PHP and I need to make a form using if-else where the user enters the value of a product and choose a payment plan of a select to calculate the interest and total amount. The plans are as follows: panel A iter...
asked by 15.04.2018 / 03:05
1
answer

Clean form fields after sent with Vue2 and Axios

I have a form that sends, in Vue.js , by axios without any problem the data, and I wish that after successfully sent, the content of the fields is deleted. I have tried with .reset() but without success, and for some reason I...
asked by 28.03.2018 / 21:05
1
answer

Problem with Ajax + PHP - Attempt to make a Form

I'm trying to create a form that works with Ajax and Php, but I still have not been able to do it because I'm making a mistake and I do not know which. I leave here the code so you can help me. The idea of the page is that where is the input...
asked by 08.03.2018 / 23:17
1
answer

I want to send a file in a JSON using an AJAX without using formData, is it possible?

I have a form that I sent with an ajax. I extract the data with jquery and I put them in prototype to send them in ajax with a dataType: 'json'. Come on normal. var datos = { nombre : $('#nombre').val() } $.ajax({ url: '../...
asked by 18.01.2018 / 17:26
1
answer

Javascript. Show data of a select field, would it have to do it with ajax?

What's up? ... I'm a bit new with javascript and wanted to consume something: I have a form that, in addition to several fields, has a select field. This select field when the list is displayed shows the name of records that are in a database....
asked by 27.10.2017 / 04:44
2
answers

Sending form with jquery and ajax [closed]

I have 10 dynamic forms, to identify them I put a counter that goes from 1 - 10 depending on the forms that are created in the database. How can I send 1 of these forms to me only when submitting? I have tried and jquery tells me the 10 fo...
asked by 13.11.2017 / 22:19
1
answer

How to reload a div when sending a form?

I made a form, which is sent with PHPMailer to an email, after the form is sent returns an alert whether the email has been sent correctly or not. Then I want to reset the form, this I did with the following line of code $('#formcontacto').tri...
asked by 10.09.2017 / 20:03
1
answer

A page with several divs and a form in each one

I'm making a page with elements that can be commented: element_1 (id_1) --->escribe tu comentario ---> OnClick abre div con un formulario element_2 (id_2) --->escribe tu comentario ---> OnClick abre div con el mismo formulario el...
asked by 11.04.2017 / 15:54