Most voted "form" questions
HTML forms are used to pass data to the server. An HTML Form can contain input elements such as text fields, checkboxes, radio-Buttons, Submit buttons and more. A form can also contain select lists, textarea, fieldset, Legend and label elements (labels).
Learn more…725 questions
Sort by count of
-
1
votes0
answers86
viewsWhy don’t you send in a form?
I have already looked at all the code and I can’t find where the error is. The form does not send the data when I click the send button. <section id="inscricao" class="bg-light-gray"> <div…
-
1
votes3
answers852
viewsMultiple parameters in xmlhttp.send();
I am making an entry in the database with ajax, ajax esa working, but the insertion is not being done correctly, I believe it is because I am passing the parameters incorrectly in the send();method.…
-
1
votes2
answers560
viewsValues from one form to another
In the index.html will have a pre-form with name, email, city and UF. I will need to take this data and play for another form that will be in another html file. I have a certain notion in jQuery,…
-
1
votes2
answers4741
viewsHTML + PHP contact form
Hello! I’m making a website where the customer asked for a contact form, but I understand very little of php. So I searched the internet for tutorials on how to use this function. You are sending…
-
1
votes1
answer174
viewsASP.NET - . aspx does not receive fields from the form post cross Omain
I have a form template that I want the customer to use to paste on your page. The form points to a. aspx page on my server. At the Page_load event in mine. aspx I want to get the fields filled form…
-
1
votes0
answers9
viewsHow do I use user-filled information in a form I made using Google Spreadsheetapp’s Htmlservice?
I want to use form fields as variables in a script.
-
1
votes1
answer168
viewsClose Form Dynamically jQuery
The form is a registration form for a cat hotel. The form has the option to add more than one cat per registration, so I clone the cat’s registration form to include the second cat, but I can’t get…
-
1
votes1
answer584
viewsHow do I get back a Boolean after a form.Ubmit?
I have a customer registration form that runs Submit on the sign up button: document.getElementById("formularioCadastro").submit(); everything ok, the registration works, but I wanted to return a…
-
1
votes1
answer63
viewsContact Form - Sending date 0000-00-00
Good morning, I made a contact form and put one but when I put the date right example: 31/08/2017, I click to send the date comes as: 2017/08/31, I would like to leave as standard Brazil. My input:…
-
1
votes1
answer176
viewsForm does not import "values" from database
In my system has a registration page and a page with a table with the information of registered. In this table there is an edit button that links with an equal form of the registration page. What…
-
1
votes1
answer651
viewsPass values from one form to another
I started learning code recently and created these two forms in HTML, in which I need to take the values that were filled in the first form, and pass them to the second. How can I do that? 1st Form:…
-
1
votes0
answers195
viewsGoogle Forms - Campo Hidden
Through Google Script, I can make a field visible if a certain option is selected in another field ?
-
1
votes2
answers2359
viewsAvoid form Ubmit by pressing the Enter key
I have a input in the Vuejs that is inside a form and when I press enter I don’t want the form is submitted. Together with Vuejs I am using Quasar and I was able to assign the function call only in…
-
1
votes1
answer438
views -
1
votes0
answers81
viewsTaking data from an external action form with POST
Hello. I’m having a problem trying to recover data from a form where its action is an external url. <form accept-charset="UTF-8" method="post" name="formIntegration" id="formIntegration"…
-
1
votes3
answers1410
viewsHow to make input mandatory in just a few cases
I am putting together a form in which the customer needs to provide the parent data when he or she is under age. I can do this easily in the backend, but I would like to know if you have how to do…
-
1
votes1
answer1014
viewsSpecific time for the day of the week in the datetimepicker
I have a specific form of datetimepicker, working cool, however, I need each day of the week to have a different time, for example, on Sunday have 2 times available, on Monday 3 times, on Tuesday…
-
1
votes2
answers7097
viewsFrom select to input
As in a form with a field select when option = outro would always change to a input? How to do? <form action=""> <div id="alvo"> <select name="opcoes" id="select"> <option…
-
1
votes0
answers24
viewsApp with HTML, automatic form
html apps are functional? I’m trying to create one and I have a form where you define a calendar contact, a preset message and when you click the button, automatically this message will be sent to…
-
1
votes0
answers26
viewsComo disability via Javascript que os cookies carregauem dados em apenas uma página especificas
I have a registration page that has email and password, when the user clicks to save email and password in the login, the auto fill of the coockies already fill the registration data. I can’t clean…
-
1
votes1
answer258
viewsSelect with repeated attributes
I’m having trouble recording in two different fields of a table using one <select> that has two attributes name and <options> with two value. I used the code below, but it only recorded…
-
1
votes2
answers1050
viewsCombobox with Checkbox and Input Text options
Good afternoon, you guys, I wonder if it is possible in a form to create a combobox with options to select in checkbox and text box to fill with a value. (As picture) and then I can send the…
-
1
votes1
answer45
viewsUpdate does not find what was typed in the inputs
I have a system where you can change the information of a record through an editing form, only this edition is not being saved. HTML <?php $lnk = mysqli_connect('localhost','root','') or…
-
1
votes1
answer112
viewsHow to add groups of inputs according to the number inserted in a text box without refreshing
How can I make a form where you have a text pad of type number, and according to the number I enter appears groups of text box to fill in this same form? Example: Text box (number of days) = 4…
-
1
votes2
answers51
viewsSave information if user leaves page
The page in question has a form right away, this form has only three fields, which are the basic information required, after clicking the button, the fields will disappear and new fields will appear…
-
1
votes1
answer399
views -
1
votes1
answer179
viewsSubmit a form using request in php
Good morning guys, I am making a form (course work) and need to echo in all information typed in the form using REQUEST (can be POST too) when I click the "Submit button". I searched the internet a…
-
1
votes2
answers75
viewsHow to fix these styles to circumvent reported error?
I am modifying inputs checkbox hiding them and calling labels to receive the function of checked. As you can see in FIDDLE and also in the codes shown below, when clicking in ascending order, the…
-
1
votes2
answers458
viewsRequire input text filling with jQuery Validator
I am making a registration form, and I have three fields to enter values. I want to make it mandatory to fill in at least one of the three input text. Does anyone know how to do this with jQuery…
-
1
votes1
answer562
viewsValidating an Ionic Login form 3
How to validate a Login form that contains EMAIL and PASSWORD in Ionic 3? It is necessary to create a new component to validate these fields ?
-
1
votes1
answer35
viewsProblem with php sending email form and alternative checkbox
Hello I need help because I do not know a lot of php and I am not able to work the reply mail of my form in conditions. The checkbox only sends a reply of 1 of the selected articles and never sends…
-
1
votes1
answer60
viewsSave file upload to txt file
I have this code that records the form information in a file TXT. But I can’t upload (an image for example). How can I do that? Code: <?php $file = 'apeople.txt'; // Open the file to get existing…
-
1
votes2
answers310
views -
1
votes2
answers551
viewsProblem with duplicate form sending
Guys I’m having a problem sending duplicate form. It occurs as follows. I have an html form, when the user of 2 quick clicks or quick click on enter he sends the form 2 times. I tried to solve the…
-
1
votes1
answer3139
viewsAngular 7 - Input validation in a dynamic form
I made a form where the fields (input) appear according to the category to be created. The category is chosen when the user clicks on it, opening a new pro form tab. In the form, you have fields…
-
1
votes0
answers16
viewsJoomla forms with submission limit
Good morning, I would like to create a form in Joomla and I would like to know if there is any form module (chronoforms, form maker, etc...) that would allow me to limit the number of registrations?…
-
1
votes1
answer56
viewsProblems in PHP
Hey, you guys, come on! I’m new with PHP and Mysql Database. For several days I’ve been breaking my head with a code and I can’t find the error at all. :/ I have an index.php page, with a form…
-
1
votes1
answer80
viewsWhy use a Select Multiple or Checkbox?
To recover multiple values selected by the user and write to a database, what would be the best use option? What are the differences between one form and another?
-
1
votes0
answers82
viewsWays to inform address
Good afternoon people, I have a question not very technical, but ways to get information. Here at the company we have a form for our users to inform service addresses. This form has the automatic…
-
1
votes0
answers609
viewsHelp - Uncaught Error: Syntax error, unrecognized Expression: #[Object Htmlformelement]
Problem in validating a form with ajax, follow the error.. $.ajax({ type: "POST", url: "adicionaConcorrente", cache: false, data: $("#" + varForm).serialize(), beforeSend: function() { // Faz alguma…
-
1
votes2
answers1257
viewsAssign a value to checkbox in javascript
I have a form that contains some checkbox that when they were marked I wanted to be assigned the value 1 to do the Insert on the server, I’ve seen how to check if it is marked, using…
-
1
votes1
answer47
viewsHow do I create an element with Vue JS?
I made this very basic structure, a component with input, I wanted to click a button and generate one more in html. I try to search with appendchild or v-for or even v-html, but I’m not getting. let…
-
1
votes1
answer87
viewsSave form in database
I created a system in which there is a form that I want to save in the database and display it in another screen that I am developing but I do not know how to save the form although it receives the…
-
1
votes0
answers20
viewsDoes anyone know how to increase this html input?
I need to increase the input for msm hr size <div class="login"> <input type="text" name="username" id="username" placeholder="Insira seu username"> <hr color="1DDBB9"> <br>…
-
1
votes1
answer79
viewsPHP - JAVASCRIPT - Take a form obtained variable to another PHP page
Friends, CONTEXTUALIZING: I have a php file with an HTML form, which I will call "arquivo1.php" where I pass an id variable via post to the same one where I handle the data. In this file1, I perform…
-
1
votes2
answers698
viewsHow to send form parameters instead of angular JSON?
I’m trying to send a POST Angular way, the same way I did in the JQuery, however, when trying to capture the data via variable $_POST, is not bringing any value. I’m running a code similar to that…
-
1
votes1
answer2252
viewsCalculate with Javascript and return to html
So guys, I just need to get some HTML information and get back the result of the calculation, but I couldn’t. <html> <head> <title>Calculadora</title> <script…
-
1
votes0
answers58
viewsError filtering form values by comparing two arrays
I am trying to filter the values of fields filled with an array, that is, check if a string of an array is contained in any of the values coming from a form. Problems: Only the first field is being…
-
1
votes1
answer318
viewsHow to form a JSF with a field that can have as many values as needed?
Taking into account the following entity class: import java.io.Serializable; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import…
-
1
votes3
answers1043
viewsDelete registration form, JSF Primefaces
I’m using JSF with primefaces. I have a registration screen, and I have a button to delete the form data, would be a button to clear the form to make another registration. However, this wipe button…