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
votes2
answers107
viewsHow to save the Insert Radio Button with Bootstrap to the Mysql database
I am developing a registration form but I had to include a field (Radio Button) in my project. However, I am unable to save the Radio Button Insert to my Mysql database. The code below is in…
-
1
votes0
answers17
viewsCombobox updating the database data
I am developing a page that will serve to edit the support calls : open, pending and solved. But before the fields I created in Mysql I cannot update to update what I want. <form role="form"…
-
1
votes1
answer30
viewsInitial Form Django is not working properly
Well I am developing an application in Django and I am trying to use jquery with Django to make a request to Viacep to consult the cep that the person typed and left the focus of the field that was…
-
1
votes1
answer36
viewsHow to map the value of 2 inputs in React?
I’m creating a kind of Todolist in React and had the idea to use two inputs. The code is divided into 3 components: App.js: import React, { useState } from "react"; import Form from "./Form"; import…
-
1
votes1
answer39
viewsHow to make an edit function in an entire list with 2 inputs?
I am doing a whole list and it has two inputs. My problem is that I am not being able to do an editing function for these inputs. For easy viewing I will send the code, images and codesandbox link.…
-
0
votes1
answer1055
viewsSave data to the database using Form in Cakephp
I’m trying to make a tool for the administrator, the site I’m building, that will allow you to upload images to a folder on the server, so that they appear posthumously in the gallery. The image…
-
0
votes1
answer67
viewsDynamic fields using Sinatra
In Rails this is a relatively simple task. But I couldn’t find anything in the Sinatra documentation that said it was possible. I want to add fields to a form dynamically. User clicks on a link and…
-
0
votes2
answers1887
viewsphp/html Insert various data with the same information
I am in need of some help because I am a bit stuck on that. I have a form where I put information on a worker. Now I want to change this page to be able to insert several workers. At most up to 16…
-
0
votes1
answer195
viewsForm being rendered with wrong action attribute
I am using spring form tags to render the forms present in my views, but I am facing problems because they are being generated with the wrong action attribute. In my controller, I have the method:…
-
0
votes1
answer2279
viewsForm PHP validation in Contact Form 7
I am building a form in Wordpress and need to validate banking data, CPF, Bank Number, Agency among others, and use the plugin Contact Form 7. My question is how to validate by PHP the fields typed…
-
0
votes0
answers129
viewsSelect2 does not open when screen is smaller
I have a problem when Select2 is in a form and near the end of the screen, so it does not open because it understands that there is not enough space, I would like to know how to do in this case. The…
-
0
votes2
answers204
viewsjQuery animation before form submission
I have this code, the animation happens but the redirect to the next page (work.php) nay. I mean, you’re not getting into the condition if (isset($_POST.... If I comment on the piece of code…
-
0
votes1
answer536
viewsPick up form value
This is my Twig form. <form id="csv" action="{{ path('faturamento_csv') }}" method="post"> {% for elm, value in filtroLocais %} <input type="hidden" name="{{ elm }}" value="{{ value }}">…
-
0
votes2
answers496
viewsForm to change variable for a calculation in the same view
I’m starting with the Rails. I have a view that receives information from the database and by means of a model methods do several calculations. For example: <% @profundidade = 0.5 %> <%…
-
0
votes1
answer436
viewsDatabase column value in a hidden HTML field
I want to take the value of the column and store it in a variable. This code below works perfectly, however I now need to fill the value of the hidden field with the ID that comes from the bank:…
-
0
votes1
answer694
viewsHow to get the value of the textbox?
I want to get the value I’m gonna write on my textbox. All on the same page to then change a table field by the value inserted in textbox. <form method="POST" action="#"> <input type=text…
-
0
votes1
answer166
viewsMove Div Up with Jquery
Hi, I have a Divs configuration on a crud and wanted to put the div I create dynamically above a UL that contains the send buttons. It is not possible to place this manually via html as the screen…
-
0
votes1
answer722
viewsSend URL with variables in PHP
I am trying to submit a URL that has variables that will be treated on another site. I have the code: <form action="OUTROSITE.COM/default.aspx?q=1136&lang=pt-PT&CheckIn=<?php echo…
-
0
votes1
answer583
viewsHow to drag some objects and forms in VBA/Excel and prevent the drag of others?
I’m having difficulties when trying to control "drag forms" and "drag objects" in VBA/Excel. For example: I have the main form that I don’t want to be moved, a second form is called from the main…
-
0
votes2
answers2308
viewsDynamic form? how to do?
I have the following question, I have one while in PHP, and in this while have a form and a button of Submit who sends this form, but as there are several records he repeats this form and the system…
-
0
votes0
answers580
viewsFile not found when giving
I have an HTML form: <link rel="stylesheet" type="text/css" href="script/overlay-div/css/overlay-div.css"> <link rel="stylesheet" type="text/css" href="style/bootstrap.css"> <link…
-
0
votes0
answers190
viewsBootstrapvalidator does not work with php running on xampp
I am trying to validate my form with bootstrapValidator, in PHP but the script does not run, but if I do an html file, the file runs. <!DOCTYPE html> <html lang="pt-br"> <head>…
-
0
votes2
answers284
viewsHow to keep a $_POST on the page
I have a question system,: <form class="form-horizontal" method="POST" action="perguntas.php"> <fieldset> <legend>SELECIONE O QUESTIONÁRIO</legend> <div…
-
0
votes2
answers244
viewsalternative to send JS data to a new PHP page to use the data
Hello! My knowledge in PHP is basic, but I will understand the explanations better. My goal is to create a home page index.php where it gets the resolution of the user screen and this data X and Y…
-
0
votes0
answers27
views -
0
votes2
answers450
viewsSending form for two php files
I have a curious and perhaps idiotic doubt, but come on. It is possible to send data from a form to two different php files?
-
0
votes1
answer87
viewsHow to put a sum in my JS formula?
How do I place a formula that adds a value to a ZIP Code group on my order form? Example: in ceps 22750-670, 22750-700 and 22750-750 will be added the value of R$ 4.00 (4.00) to the total order. The…
-
0
votes1
answer52
viewsHow do I send an ID information via email?
I have a form, it has the following line: <span id="idTaxa"></span> This line carries the delivery fee data, so far so good, but I need to send this information by email and I’m not able…
-
0
votes1
answer109
viewsMount Dynamic Playlist With Select Option
I intend to create several "Play List" using an element select, instead of leaving it in the body of html document, want to put in a file "js" external, and call each "Play List" through a "Search…
-
0
votes0
answers1345
viewsHow to inhibit confirmation "form forwarding"?
I have a list of records where I do a search (via post) and after the result select a record through a select, and go to another page to edit this record. It turns out that when I finish editing…
-
0
votes1
answer3366
viewsHow to clean input?
OBS.: url and number types mainly but if you want to put of other tb without problems) Preferably in pure Js! I’ve tried things like this.value'; and they haven’t solved! OBS 2 : I have read the How…
-
0
votes2
answers89
viewsContact form does not send some data fields
I would like a help from you , I have checked everything here but I could not detect the error, the form can not send the data entered in the message fields and select, IE they arrive empty in the…
-
0
votes1
answer53
viewsEmployee research, multiformulary or single form?
I am developing an app that should be made available to employees of a particular company, so that co-workers themselves make the evaluation of one (two, three, etc.) working friends by answering…
-
0
votes1
answer794
viewsSubmit form when loading the page
I have a form and wanted that when being loaded the page, that form was submitted. I’m using the code below, but it’s in an infinite loop. <form name="teste" action="inicial" method="post">…
-
0
votes1
answer144
viewsAuthenticated mail() function with attachment
I cannot use Casse PHPMAILER as the hosting server does not accept, (Information from the server support itself) I have this example, but the attached file, always comes with error. and also can not…
-
0
votes0
answers227
viewsHow to keep the order of selected checkboxes and send by form to another page
I have a code on page1.php where I have an array of checkboxes filled with Mysql data through a query. I can send the value of checkboxes marked to the page2.php. But I want the order to be the same…
-
0
votes0
answers67
viewsWhat’s the difference between using type Ubmit in buttom and input?
I’ve always made forms with <input type="submit" value="Enviar">, but observing the bootstrap documentation I realized that they use Submit, so I decided to adopt this method because I always…
-
0
votes1
answer18
viewsCaptcha for Formidable (Form) - Wordpress
Good afternoon! I’m in need of a captcha plugin that works together with Formidable. In this case, what you already have in Formidable only works in one form per page, and since I need to use 2x on…
-
0
votes1
answer142
viewsHelp - Registration Form
Good afternoon! I made a very simple registration form that sends the data to the e-mail. It was working 100% and simply stopped sending emails. After all the registration, by clicking " send " the…
-
0
votes1
answer65
viewsInformation provided by the BD
Hello My project has a form that brings the BD information in case the user wants to edit, it is not changing the data, nor the image.. form: <?php $id = $_GET["id"]; //Executar consulta $result…
-
0
votes2
answers90
viewsproblems submitting form
Guys I developed a form on this website in php and javascript it has a select Multiple where the user will be able to select more than one value when sending my form it arrives with all the…
-
0
votes1
answer765
viewsSend attached files by email form
I have a contact form template that I use on my websites. It uses JS to validate the content of the fields and PHP to send the data pro email. I wonder if it is possible to send files (images)…
-
0
votes3
answers1036
viewsproblem filling in form with uppercase letters
staff in my website the user when will register in my site the fields where he types text he can type with capital letters and this generates a BUG on my site there in the panel I would like to know…
-
0
votes4
answers364
viewsError saving form data in php
I’m having trouble passing data from an html form to be processed into a. php file No error message.` <html> <head> <title>Cadastro</title> </head> <body>…
-
0
votes0
answers37
viewsSending of HTML Form
Hello good afternoon I’m having doubts about how to send the information in my form to an email , someone could help me indicate something I can do , thanks !! Hugs Below is an image of how this…
-
0
votes0
answers48
viewsDraw form
I need a simple form with fields for (name and phone). Below a list with numbers from 1 to 100, for example. The user fills in the form and after "Submit" I receive an email with the information and…
-
0
votes2
answers31
viewsForm fields not clickable on website when opened on desktop?
http://pousadamonteiro.com.br/Contato.html I have a contact form template that uses JS to validate and PHP to send the data, but on this site the link is above, the form is not clickable when opened…
-
0
votes1
answer148
viewsDisplaying dates in forms
I am creating a form that contains a field whose data type is DATE, where I want a certain value returned by default. But there’s nothing I can do to make it happen. My code is this: <?php $ini =…
-
0
votes1
answer61
views -
0
votes1
answer1484
viewsHow to align form fields in HTML
Hi, I’m developing an HTML form. I wonder how I can align the text boxes to fill? <html> <head> <form> <title>Formulário</title> </img src…