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
-
0
votes1
answer5289
viewsHow to verify that all fields with `required` were filled with form.Ubmit()?
The application loads data via ajax dynamically according to the item selected by the user in a select. Depending on the selected option it can load another select or some inputs to be filled, and…
-
0
votes1
answer2878
viewsHow to create a query form with Angular?
Person, as I create a form with some fields for consultation for example: Name and Phone and a Query button to send this data to the backend to query and display in another View the return in a…
-
0
votes0
answers55
viewsForm works on desktop but no responsive!
I’m having a problem that is the following I have a page.php page, which has some includes php pulling files that contains the structure of my form, which then sends to a page with "success"…
-
0
votes4
answers788
viewsUsing HTML5 default value
I am trying to bring a value to an input text disabled but the field is being shown as empty. I already removed the disabled and it keeps coming blank. <input type="text" name="anterior"…
-
0
votes1
answer134
viewsFriends I’m trying to do a zip search using javascript, where am I missing?
Javascript: <script type="text/javascript" > function limpa_formulário_cep() { //Limpa valores do formulário de cep. document.getElementById('endereco').value=("");…
-
0
votes0
answers42
viewsHow to submit a php form, without reloading the page
When I click submit in the form, I wanted it to validate the fields, with PHP, but not reload the page. I’m using this code: <?php if (isset($_POST["submit"])) { $name = $_POST['name']; $email =…
-
0
votes2
answers922
viewsValidate Password fields
I have a single page on HTML, using the bootstrap + templates in which it has a registration form and it has two password fields, one to type and one to validate (if it is equal). I tried to jQuery,…
-
0
votes1
answer389
viewsDisable Validators.Required Angular2
I have the following form using Validators. this.formulario = new FormGroup({ CodigoTemp: new FormControl(null, [Validators.required]), }); I need to disable Validators.Required if a checkbox is…
-
0
votes0
answers172
viewsHow to insert data into two different tables with the same form?
I have a dynamic form where the questions come from a database table, some questions have multiple choice answers that also come from the database. but other questions are text questions. When doing…
-
0
votes2
answers770
viewsView ID in the form before registering php and mysql
I’m making a registration screen , only I wanted the system to already display the ID (id_entity) that will be registered. When saving, it will ask if I want to register documents, then if I click…
-
0
votes0
answers127
viewsBlock forced editing of Hidden input
For example, I have a stock system in PHP and in it the section edit quantity of the product. Here we have a form to add quantity. In this form I have an Hidden field that takes the product id to…
-
0
votes1
answer38
viewsDiscount on a form item, after choosing a combo option
I have a form in PHP, where I would like to create a discount rule for an item, in this case the soup. The soup on the online menu (form) costs R $ 15,50 but if the customer select one of the combos…
-
0
votes2
answers1405
viewsWhat is the difference between these Form Delphi creation options?
We have the following options: Application.CreateForm(TForm, Form); and Form := TForm.Create(Application); There’s a difference between the two? I know it exists because depending on where we call…
-
0
votes0
answers170
viewsFields with mask in Angular forms
Does anyone know anything that I can validate very dynamically forms in Angular? I have a form in an Angular application that I created using Bootstrap that I need to validate many items such as…
-
0
votes1
answer170
views -
0
votes1
answer95
viewsSplit form to insert into rows other than Database (codeigniter)
I have a dynamic form that is filled as there are questions in the database, this form also writes text boxes, checkbox, textareas, etc according to the type of question defined in the database, the…
-
0
votes1
answer85
viewsHow to use Freeandnil in this case?
I have the following routine that destroys forgotten forms opened by the user: ... for i := qtd - 1 downto 0 do begin if (Application.components[i] is TForm) then begin…
-
0
votes0
answers93
viewsChange XML numbers using PHP file with form
The following PHP code performs a click search and displays all required XML data, however, even with the PHP script to increase and decrease XML values in 1, when clicking on + or -, it just…
-
0
votes1
answer33
viewsSend the form to different addresses according to zip code
I have a form that calculates the delivery rate according to the zip code, until then everything works 100%. My client is opening his business in another area and wants the orders to be sent…
-
0
votes1
answer58
viewsSend selected items via email form
I have a contact form that uses JS to validate and PHP to send, works very well with inputs text and the like, I would like to implement select in it. I’ll pass my codes here: HTML form: <form…
-
0
votes1
answer70
viewsString nonce is not being generated
I’m using the Braintree API and I can put the dropin form of them on the page: var braintreeToken = @Html.Raw(Json.Encode(Model.brainTreeToken)); braintree.setup( braintreeToken, "dropin", {…
-
0
votes0
answers41
viewsForm action parameter opening php script
My problem is relatively simple, I have a form and I need that: when clicking the Submit button the data is passed to a php file (referenced in the action parameter of the form) that will save the…
-
0
votes1
answer34
viewsChanging a field with a respective color
I’m having a doubt not your where to start I have a project based on an hourly calendar in which this calendar has a table with several squares and I need to change the color of these squares with…
-
0
votes0
answers12
viewsChanging a field with a respective color and returning to the database
I have a project that has a schedule calendar in which this calendar has a table with several square and I must change the color of these squares with some colors corresponding to a status and I…
-
0
votes2
answers135
viewsChanging the styles of Bootstrap form fields
I wonder if there is any way to change the styles of bootstrap form fields. I wanted to put together a form with a border-bottom and transparent background but I can’t. someone has some solution?…
-
0
votes0
answers38
viewsForm Data Listing - Django
Good night! I have an evaluation form created in Django 2.0.4, in which 3 questions are inserted along with your answers, but when listing the result on a page only the last question and answer is…
-
0
votes0
answers39
viewsHow to run an Email Rescue Field - Newsletter
In the footer of all the pages of the site that I am touching has a Subscribe field, for email redemption and newsletter sending. But I don’t know how to make it work, someone helps me? Follows:…
-
0
votes1
answer70
viewsForm submission settings
Well guys, what happens... I created a php form to insert in my project, it happens that, always gives some error when sending, and the times I managed to send did not send all the data but only the…
-
0
votes1
answer137
viewsEmbedded Form Mailchimp does not redirect to destination page
Follow the code of the Form I am working, the problem is the following, using it as it is, is not redirecting to the link of the e-book that I would like, I tried to put >…
-
0
votes1
answer91
viewsBugando image keyboard on android [IONIC 2]
I have the following problem: As you can see in the image above, when I click to write in the login and password fields, this white background appears in the image. I imagine the problem is related…
-
0
votes1
answer77
viewsHow to redirect a search result page (/search?term=brazil) to another page (/country/brazil)
I am setting up a website recipes that has a search that is a form with GET method and MYSQL query to bring the results. I wanted when someone does a specific search, for example brazil, to go to a…
-
0
votes1
answer86
viewsHow do I set "searched" value in input with Raintpl
I’m moving my project to Raintpl and found nothing in their documentation about it. Before I used to wear it like this: <form method="POST" class="row py-4" action=""> <?php $nome =…
-
0
votes2
answers1530
viewsFunction reset form in JS does not work
The button clears the form but does not perform the rest of the functions function reset() { var form = document.getElementById("form"); var nome = document.form.nome.value; var set =…
-
0
votes1
answer538
viewsHow to do a ternary <checkbox> check with PHP?
I’m doing this field check <select> and everything is going well but I would like to do the same check on a <checkbox> who may have several possibilities then needing to work with arrays…
-
0
votes1
answer39
viewsform to not connect to google sheet
Hello I need some help I’m making a form following these steps Link and it’s not working I created by following the steps that are on this site . But I think the problem is in my code and why it’s…
-
0
votes2
answers60
viewsPHP form with attachment sends works on web server, but not on intranet server
A form I tested on my web server (www.sitedodaniel.com.br/box/send/formgamer.php) worked perfectly. However, when transposing the code to an intranet server of my company, the form is displayed, but…
-
0
votes1
answer46
viewsHow to check if a user has already submitted a file in Wordpress?
I’m using the plugin WPForms, PRO version and added a button upload file in this form. However, I need to make the following check: A user sends a file through my form. When that same user comes…
-
0
votes1
answer87
viewsI changed the html of the form, now the php file does not respond
Good afternoon, you guys, I am at the end of a project, and the php file of the forms do not respond. I have 02 separate forms on the page, one of them has file submission input. None of them are…
-
0
votes1
answer197
viewsHow to make a database query with multiple filters
I have this list of filters I can receive all her normal values in an array by get method, but I’m having doubts about how to do this search with several filters, I performed a filter for example…
-
0
votes1
answer24
viewsRe-populate input file type after codigniter validation error
I needed that whenever there was a validation error, when returning to the form the file fields were with the previously completed information, however I’m not getting it to happen, I tried with the…
-
0
votes1
answer252
viewsAngular: insert date in input only
In the system there is a field to insert a date. I want to block the input to insert only the dd/mm/yyyy values <mat-form-field class="input-full-width"> <mat-label>Data…
-
0
votes1
answer561
views -
0
votes1
answer137
viewsProblem submitting form with SELECT tag, empty $_POST array
When submitting the above form, the PHP script shows an error, saying that the index 'estab' is undefined. The function 'var_dump' shows an empty vector. <form action="PHP_scripts/gerarApp.php"…
-
0
votes2
answers50
views -
0
votes1
answer155
viewsHow to change the properties of a Form being inside a Usercontrol that is not in the Form? C#
In my code I am inside a Usercontrol that is not inside the Form and I would like to change the properties of my Form through this Usercontrol. Example of my code: private void btn_Click(object…
-
0
votes1
answer1457
viewsHow to get form values before Submit with jQuery?
There are ways, before the form is sent, I can get the values of each form input using jQuery?
-
0
votes0
answers23
viewsForm does not send by IE, nor by firefox
My form is only sending by Chrome, I would like to understand the pq. It uses the normal post method, only that I have this JS that depending on the value that is there, it sends the user to the…
-
0
votes2
answers791
viewsFormgroup does not take default values
The proposal of this page would be to update my database, however, the form is only considering the changed values, that is, if any field is not changed in the form this will be changed to ''…
-
0
votes1
answer131
viewsI can’t send contact form. The message "Incorrect email! appears when you click to send
I’m trying to get a contact form, he didn’t have the code in php, only in html, and in the action function of the HTML code he sent to the site https://mobirise.com/. Example - HTML As was: <form…
-
0
votes1
answer24
viewsSending Post to PHP
I have a page that receives a post with an array larger than 1000, this array was "small" and worked well, but I recently realized that part of the content sent now is not coming from the other…