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
answer27
viewsInstantania Check Box
I made a check box and wanted to appear the choice in a form as soon as chosen. But the option only appears if I enter after choosing the option or if I choose an option and go changing with the…
-
0
votes2
answers170
viewsBlank, unanswered, email form - PHP
Good afternoon, everyone, I’m not an expert in php and I’m trying to make an email form, but when I click send it a blank screen appears, no errors and also no sent message, could anyone help me?…
-
0
votes2
answers524
viewsValidate Form Jquery
I have a form, that the button that makes his Submit, stays outside the tag <form>. then I send it via Script. The problem is he’s not validating the Form, before sending. I always only used…
-
0
votes1
answer30
viewsValidation of Nativescript empty fields
Need to validate multiple Fields (text, Dropdown) in one form, which is divided into two : <StackLayout> <TextField required [text]="usr.nome" [(ngModel)]="usr.nome"></TextField>…
-
0
votes2
answers369
viewsSuccess message after sending message by form
I want a message to appear after filling the form and clicking on the "send" button stating that the content was successfully sent on the same page! I’ll put in my code, thank you for your help.…
-
0
votes0
answers31
viewsIs it possible to create a handleChange for a form that takes the values of a Redux store?
Next, I’m creating an app and came across this problem: I have a store set and want to create a data update form in Atlas (Mongodb). But I want this form, already come with the values that are in…
-
0
votes1
answer454
viewsERROR: Object of class mysqli_result could not be converted to int
Hello! I am developing a site to buy a game that has a page to record the information of each purchase, among them, the amount of games purchased. I wanted that, during the saving of the…
-
0
votes0
answers28
viewsStylization form
Good afternoon, I want to leave the form the way it is in the image, and when I use form within form when setting the part of the backend does not work. I tried to modify the internal form with div…
-
0
votes0
answers75
viewsSubscription form does not highlight mandatory field
I have a form where you have a signature field, follow code: <script src="signature/jquery.signaturepad.js"></script> <script> $(document).ready(function() {…
-
0
votes1
answer143
viewssubmit php variable and form with single Submit
good evening everyone, I’m doing a job at my college and I’m having a hard time at one part. I’ve researched and tried several ways, as I’m starting maybe there’s another way that I don’t know. I…
-
0
votes1
answer362
viewsHow to call a function in an HTML form?
Hello, I need help, I am creating a javascript program that should receive input data (Height and width) via form HTML and then call a function that uses this data to calculate and display the total…
-
0
votes1
answer474
viewsDisplay numeric keypad when an input receives focus on mobile version
I’m developing a web interface with HTML5, CSS3 and the framework Bootstrap 3, and using the type="number" on the tag <input> on smartphones the native keyboard of Android open in numeric…
-
0
votes1
answer201
viewsView sessionStorage data in a div
I am doing an activity that consists of recording data obtained from a form in the sessionStorage with the Register button, and with the Display button, show the recorded data. I cannot show this…
-
0
votes0
answers31
viewsView Form Errors
I am working on a form and I want the user errors, to be shown on screen,in the format of elements of a list I declared in my HTML, I have tried several methods and apparently this is the most…
formasked 4 years, 12 months ago Gabriel Ximenes Mitozo Noronha 29 -
0
votes1
answer294
viewsConsult an API via POST - Vuejs - Xios
Good afternoon, I’m a beginner in Vuejs and I’m making an HTML form that needs to check an external API via HTTP post request. I found several explanations on the internet but nothing succinct, I…
-
0
votes1
answer39
viewsAdd comma values if the key is equal
How to format an array like this... [ {name: "city", value: "sao-paulo-sp"}, {name: "types-properties", value: "apartamento"}, {name: "types-properties", value: "casa"} ] to arrive at this result. […
-
0
votes1
answer25
viewsHow to force Reactiveforms to validate only after trying to send the data?
I have a app simple where I did some tests with the Reactive forms of Angular, and I came across the following situation: I put a console.log in the validation function, and I realized that when…
-
0
votes1
answer103
viewsHow to save updates to object via the Django form?
I have an application and when I send the data in the form to be updated it works ( the data are shown in the form) but when I click save the update it repeats the initial data and saves nothing.…
-
0
votes1
answer177
viewsHow to submit the form only if the field is completed
In the form below, I ran tests with the blank fields, but the function validate does not seem to be called. In addition, the PHP program (if(isset($_POST['register']))) will only run if the event…
-
0
votes1
answer57
viewsIncrementing Progressbar with a Timer causes a Visual Bug! The Progress only carries half but the value is FULL! c#
Hi, I’m creating a project something like this: Clicko and a Proressbar appears, I increment with a Timer, I counted and qd an incremented variable of 1 in 1 reaches 11, we have +/- 3 seconds, is…
-
0
votes1
answer291
viewsReact hook form checkbox always true
I have a question when receiving the database data for my checkboxes. Even the value coming false from the bank, the checkbox is checked. I’ve tried several forum responses but I must be missing…
-
0
votes0
answers344
viewsSet field value Select dynamically in Angular reactive form
I have the following select field: .html <div class="col-md-4"> <div class="mda-form-group"> <select class="mda-form-control" formControlName="state"…
-
0
votes2
answers181
viewsValidate password confirmation field, why does confirming field not work?
alert('aa'); function validar() { //campo nome if (form.nome.value == "") { document.getElementById("erro").innerHTML = "Por favor, preencha…
-
0
votes1
answer240
viewsEnable button when fields are filled in
I know there are already some topics with the same theme, but my case is a little more specific. I have a form with some hidden fields that only appear according to the change of some selects. I…
-
0
votes1
answer253
viewsDynamic form filling within modal div
Good morning, everyone! I would like some help... I have a modal div, which opens me a short form to fill out. What I need to do: fill out this form dynamically! That is, when opening the modal the…
-
0
votes1
answer78
viewsHow to get the value of the second Javascript button
I am adjusting a photo selling system, to add the photos in the cart by JS. The script works 100%, only with PHP, but I want to do without leaving the page, using JS. I have the following situation:…
-
0
votes0
answers37
viewsFormarray does not print on my Reactive Form
I’m new to Angular and I’m having a really hard time getting a Formarray into my form. Summing up what I did was: Create 2 Formularies: the main (valForm) and another dynamically created…
-
0
votes2
answers81
viewsForce user to mark at least 5 input type number fields
I’m making a website with counter with a button more and less... All are input number type with limit of 0 to 5 each input. There are 33 input type numbers, of which 33 the user will have to choose…
-
0
votes1
answer320
viewsDifference between Formdata and form
These days I was trying to upload data contained in a form. I used Node and React stack-like. The form contained the following fields: product, description, cost, quantity, image(file type). I used…
-
0
votes1
answer32
viewsForm Does not send data
Guys, give me a hand. I am testing a login screen for a personal project, when I click send the test server does not receive any data. Follow the code below. <div class="container col-10 col-sm-6…
-
0
votes2
answers53
viewsHide field in form
I need to create a form, where the options OAB REGISTRATION, SECTION and SUBSECTION appear only if the user selects LAWYER as a profession. There is a predefined list of professions. How do I make…
-
0
votes1
answer35
viewsHow to unlock the fields according to what the user types?
I’m making a form with 3 fields, where the first fields is unlocked and the others blocked. They unlock according to the first field, for example: User typed in the first field -> unlocks the…
-
0
votes2
answers1307
viewsSave form data in TXT (PHP)
Hello, good afternoon, sir! I have the following code: <?php if (isset($_POST['texto'])) { $texto = $_POST['texto']; $arquivo = fopen('msg.txt', 'w'); fwrite($arquivo, $texto); fclose($arquivo);…
-
0
votes1
answer28
viewsSubstituting and displaying parameters in PHP
I’m creating a coder, a personal project to apply knowledge and learn more. The coding part is working, but the decoding part isn’t. I execute and nothing appears. Could someone help me find the…
-
0
votes0
answers25
viewsIntegrate Form with Javascript with sending parameters Via GET Wordpress Avada Theme
Good evening Friends, if possible I need a little help from you. I’ve been trying to integrate a reservation system into a hotel site integrated with the Omnibees reservation system for a few days,…
-
0
votes1
answer35
viewsForm with year loop manufacture
Good afternoon! I am developing a form for registration of cars, where I will inform the year of manufacture and year that stopped manufacturing. I am pulling the dice a table to select the…
-
0
votes1
answer22
viewsSend a copy of the form to the company and to the customer
Hello! I have a problem sending a form. When submitting, the completed data is sent to my email. However, I would like a copy to be sent to the completed email on the form. I have tried some codes…
-
0
votes0
answers29
viewsPHP does not recognize auto Sponse
I don’t know which error my form is not sending the email reply to the event subscriber. It redirects, I receive his data but it does not receive an email confirming the registration. Can you help…
-
0
votes0
answers27
viewsSQL Query Clicking on the image that brings the selected color inside the input
I updated the server: the form has stopped working. The image fires an onclick, which switches the image on the form slide (this works); and informs the id/value of the selected color, which goes…
-
0
votes0
answers13
viewsMultiple forms ajax(jquery) request running only 6 times
I am trying to send multiple forms with ajax and jquery but it is sending only 6 forms. Here is the code Jquery: $('form').each(function(){ var values = $(this).serialize(); $.ajax({…
-
0
votes1
answer42
viewsReact - Form taken from PHP giving error "CANNOT POST"
Hello, I’m having a problem reusing a form that I used to use in my html application so that I sent the data to a PHP file to insert into my MYSQL database. Unfortunately I am not able to take…
-
0
votes0
answers11
viewsUpload Files by Magic Form
I’m using the Octobercms framework, and in it I use a plugin called Magic Form (by Martin M.), and the normal form (with text inputs) works perfectly, all inputs are recorded in the database, I’ve…
-
0
votes1
answer126
viewsCannot POST nodejs
I am making a nodejs application and came across the following error: Cannot POST /news/news/save how do I fix? admin js. module.exports = function(application){…
-
0
votes0
answers18
viewsHow to modify State selection using STATE_CHOICES on Django
have a SearchModelForm in my file forms.py in Django with the following code: from localflavor.br.br_states import STATE_CHOICES class SearchModelForm(forms.Form): name =…
-
0
votes0
answers29
viewsPull one of the form answers at the completion of the same
Hello, I’m trying to make a different use with a form. It’s a "create your home" simulation for a real estate agent, what I needed was for the form to display one of the responses to the end user.…
-
0
votes0
answers27
viewsForm is not picking up values by querySelector
I have a "piggy bank" project that keeps and withdraws an amount of money passed by two different Foms, but when trying to withdraw, the values are empty as in the example: {date: "", amount: "",…
-
0
votes1
answer84
viewshow to have a button type Submit and button
Hello I am developing a request form, the problem is the button, or it saves (using type Submit), or it appears the modal (using type button), is there any way to make a button that saves the form…
-
0
votes2
answers21
viewsHow to enable manual typing by selecting the other option in Form-Select
I am developing a registration form and added a Form-Select field to know what the Position of employees (Secretary / Advisor) company. However, when selecting the option others would like to enable…
-
0
votes1
answer27
viewsI can’t redirect the page after logging in!
I can’t redirect my page after entering login data windows.location.href command seems not to work!!! $(document).ready(function () { $("#signup-form").submit(function () { var nm1 =…
-
0
votes1
answer62
viewsMandatory checkbox in flutter
Good morning, I am developing an application and with the implementation of LGPD has become mandatory in the registration menus a checkbox with the famous "read and accept the terms of use and…