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
votes1
answer45
viewsPrevent user from typing street type
My form has a drop for TYPE OF BACKYARD (Alameda, Avenue, Way, road, etc. the list is not large and could be included manually within the if) and an input to enter the NAME OF THE BACKYARD. I need…
-
-1
votes1
answer42
viewsHow do I get two numbers typed by the user via form and send to a function that will pick a random value between them in React
At the moment my code is like this, but it’s very messy, although I think it’s possible to understand the intention. The question is: How do I get two numbers typed by the user via form and send to…
-
-1
votes2
answers36
viewsNo Clear form after wordpress Submit
built a form that validates within the wordpress function but every time I do Submit it cleans up the whole form and I don’t want it to do that I am sent data by jquery this way form.submit(function…
-
-1
votes1
answer28
viewsPage redirects and the contact form is not sent via email
The page is redirected, but the form is not sent. I believe "email.php" is not running. I’ve tried several different features, the problem that this style framework and Java used in the project is a…
-
-1
votes2
answers48
viewsHelp to sum days on a user-selected date
I need a help, I have a form of reservation of rooms, have as I increase the number of days of a date that the user selected, received by the value of the html form? Like something like that.…
-
-1
votes1
answer58
viewsHow to make the Toastr message appear and only then run the page report?
Registration is successfully performed, but the Reload page before the Toastr message appears. // Função formulário de cadastro de Cliente function cadIndCliente(btnPropToggler) { // Variáveis…
-
-1
votes1
answer40
viewsAccent problem in text returned by Javascript file
Good evening, everyone Initiating javascript studies I made a js code that constitutes a guest control system for a party. The guest states his name and the name of the guest who invited him in an…
-
-1
votes1
answer21
viewsWhy is the data coming from the form only displayed after the resubmission of the form?
I am developing a task manager. Obviously I need a task add function. function loadInputForm () { global $title, $status,$description, $date; if($_POST){ $title = filter_input(INPUT_POST, "titulo");…
-
-1
votes1
answer55
viewsStylization of CSS form
I need to leave the form in the middle of the page, without these lines that extend to the other side: * { margin: 0; padding: 0; } #titulo { font-family: sans-serif; color: #380b61; margin-left:…
-
-1
votes0
answers35
viewsHow do I send these form fields via email via PHP?
I got a ready-made website that has over 3,000 pages and many of them have a quote form. The problem is that the form action sends the data to an URL without extension. <form…
-
-2
votes1
answer49
viewsCreate Delivery Time by ZIP Group
I have a form that calculates the cost of delivery per ZIP CODE group, what I need now is for each group to add a delivery time. Example: The ZIP Code group that charges R $ 4,30 will have the…
-
-2
votes2
answers164
viewsCreate dynamic form with tags
Before you read the description below, know that I’m looking for a direction, not for you to code for me. Library references that might help me, some technique I need to know. What I need to do To…
-
-2
votes2
answers33
viewsLaravel : Form and fetch the ID
Is there any way to fetch the ID (to store in the BD) and the name for the user to select ? <option selected>Escolher Capitulo</option> @foreach($capitulos as $cap) <option…
-
-2
votes1
answer71
viewsHelp in my PHP Form
I’m trying to make a form, where I can send files and texts, but I want there to be only one send button to send both the files and the text. What happens is that I can send, but only send either…
-
-2
votes2
answers194
viewsWhy does the code return Nan Hi BMI calculation?
I don’t know what’s going on, but what happens is it returns "Nan". The code is supposed to be a simple BMI calculation. It supposedly takes the input values of a form and performs the operations.…
-
-2
votes2
answers54
viewsForm sent and another page display at the same html click
Hi, I have a problem adapting a form. I found similar questions on the site, but since I’m a beginner in programming, I may not have detected the answer to my specific question. I have the following…
-
-2
votes1
answer165
viewsPassword validation with javascript
I am trying to validate a form, which it from Submit in the form only if the password field is filled with at least 1 UPPERCASE LETTER, 1 NUMBER, 1 MINUSCULE LETTER. I did this with regex Pattern…
-
-3
votes2
answers350
viewsPHP - how to use placeholders for form validation messages
Hello, I am using placeholders to send error and successful form submission messages within the inputs themselves. Placeholders are gray. When the form is sent, if there is an error, the error msg…
-
-3
votes1
answer1202
viewshow to send data to another html page
i have a form in which the user will fill in the data and will return to the homepage of the site, and a login screen of Adm in which he will log in and will see a page with the data that the users…
-
-3
votes2
answers72
viewsSave form data
Guys, I’m new at this, I made an html form and I can’t save the data, how do I do that?
-
-3
votes1
answer48
viewsFieldset is inside another, how to tidy up?
I am making a form and put 4 fieldsets in it, 1° for Pessoa, 2° for Address, 3° for Medical Data and 4° for Extra Comments. It turns out that when I open it in Google Chrome, the 3° fieldset is…
-
-3
votes1
answer207
viewsProcess form data with javascript and html
I wanted to make a program that the user would send 3 notes and after pressing "Calculate", you would be redirected to a page that would appear your average. Who could help me: function calcular() {…
-
-3
votes1
answer101
viewsSend form via SOAP with PHP
Hello, all good? I am very beginner in PHP, and I am integrating a client’s CRM with a form for capturing Leads. Their system is small in scope, and the only thing I have to help me with is a…
-
-4
votes2
answers1469
views2 INPUT in 1 field only
I have a form that is provided by the bank to generate a banking bill. I need to split the "name" field in two in my html form. I need to get the NAME of the client and also the NUMBER of his…
-
-4
votes0
answers16
viewsFull name regular expression
Hello, I would like a regex to validate full name in a form, but with some specific details: At least two words separated by a space character; Each word must have at least three characters; The…