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
answer128
views -
0
votes1
answer72
viewsSend form with hidden fields
Guys, next, I have a form with two hidden selects, they will be displayed only when I select one of the options in the parent select, but every time I submit this one it takes the value of a hidden…
-
0
votes1
answer34
viewsNon-Submit form after dynamically deleting a div with javascript
I’m setting up an online ordering system where the items will be added dynamically as needed by the user with a javascript function, until then everything is working, the problem is when I need to…
-
0
votes1
answer42
viewshow to compose a fieldset with 2 color themes?
At the angle I have this code below <fieldset id="fieldset" class="blue-light> <legend>Informaçoes X</legend> Texto texto texto </fieldset> i have that Cod up for blue…
-
0
votes1
answer44
viewsForm does not send the data to the next page
Hello, I’m making a system of calls to the company where I work, only for T.I. use, because we control by spreadsheet, and I’m having a problem sending the data by POST or GET to the next page, I…
-
0
votes1
answer690
viewsHow to Validate Form with Hidden Fields
This is going to be a little tricky to explain, but I believe you’ll be able to help me. I’m having trouble validating a form where there are some hidden fields in the middle. In this form there is…
-
0
votes1
answer2935
viewsHow to generate a sequential number in a PHP form without using a database?
Today in my form, I have the mail.php file where to read the form data and send by email. This form is an online order form, where users already registered Ogan and place orders. Well, I’ve…
-
0
votes1
answer87
viewsReverse the order of fwrite
Guys, somebody give me this help please ! I have a form where people go by youtube links containing songs and will generate for me a list of these songs in the file musicas.html. How can I reverse…
-
0
votes1
answer23
viewsHow to turn 2 forms into 1 only '
Good morning, you guys, I have these two Forms that would be an input and an output, the two do Insert in the bank,: <div class="col-md-6"> <div class="panel panel-danger"> <div…
-
0
votes1
answer41
viewsIs there some kind of ALT property for a form field in HTML?
I have a form with some fields that will be filled by the user. Sometimes the filled-in information is larger than the field. I wonder if there is any strategy to mouse over the field, and show the…
-
0
votes1
answer1418
viewsHow do I put a mask on a Bank Account input in JS?
I need to create a mask to hyphenate the penultimate number, automatically, as long as it has at least 5 characters, in a bank account input, using pure JS. Thus: xxxx-x | xxxxx-x | xxxxxx-x.…
-
0
votes1
answer381
viewsFeedback message in php contact form
Good evening, I have a contact form that’s working perfectly. However, after sending the email, the page turns white and I don’t have a feedback message. I’d like to display a modal with the…
-
0
votes1
answer158
viewsProblem copying an html block when clicking a button
I was able to make sure that when I click the add more fields button, the form is replicated. But the create button started to do the same thing as the add+fields button and not its function of…
-
0
votes1
answer236
viewsWhat is the difference between Text Box and Input?
I’m making a medium fidelity prototype in the Pencil app and would like to know the difference between a Text Box field and Input and when to use them: Thank you!…
-
0
votes1
answer42
viewsHow do I use javascript to send Form data to an email address?
Good morning, I am working on a code that uses a FORM with POST method and I need the data of this FORM when submitted to be forwarded to an email and not to a server. All this using only…
-
0
votes2
answers142
viewsWord problem using quotes when doing INSERT SQL
I’m having problems when I will perform the Insert in mysql when I have a word that contains ex Quotes (box d'agua) in any input form, when I have the mysql error saved. I have already changed the…
-
0
votes1
answer76
viewsHow to check if a mysql database table already exists with codeigniter4?
How to check if a certain Mysql database table already exists with codeigniter 4, and if it does not exist, create this table ?
-
0
votes1
answer80
viewsHow to set value in a formBuilder.array in Angular?
Using relative forms at angular 4, I have a problem defining a value for the array. How to set its value ? marketStructures: this.formBuilder.group({ include: this.formBuilder.group({ departments:…
-
0
votes1
answer71
viewsIs there any way to work with data groups in html form?
I have the following scenario: The client chooses more than one benefit package on a page (html form), so far so good, work with array Example: <input type="checkbox" name="pacote[]"…
-
0
votes2
answers32
viewsHow to rename an input from a selector?
I would like to know which script is able to rename an input by choosing a selector. My input name is THUMB, if the person marks the first option, but I would need the input name to change if I…
-
0
votes1
answer635
viewsPutting more than one SUBMIT input into an HTML form
I have on my page a form (form) with an already determined action and an input button. <form id="educForm1" name="educForm1" action="<?php echo ROOT . 'educacao' ?>/enviaemail"…
-
0
votes1
answer87
viewsContact Form updates on the same page
The goal is to put in all 20 pages of the site the same form of capturing emails (fields: name, email, city and state) that works in all and, after the alert that the message was sent, stay on the…
-
0
votes0
answers14
viewsInvalid Django form after . read()
My code is like this Em Views: def cadastrar(request): if request.method == 'POST': arquivo = request.FILES["imagem"] leitura = arquivo.read() if form.is_valid(): form.save() The form is saved only…
-
0
votes0
answers14
viewsProblems with HTML5 Setup form -> Phpmailer
good afternoon! Well, I opened a small business, and I’m doing my site myself (rs), I haven’t done anything in PHP and, even worse, in Js. Basically I took a code ready somewhere on the internet for…
-
0
votes0
answers7
viewsMake a form that shows a merge with the filled data
ex: question1 Pergu2 after the user responds come out with http://site.com/[question1]versus[Pergunta2]…
formasked 3 years, 2 months ago Welington Pereira 1 -
0
votes2
answers507
viewsCustom registration form with Angularjs + Meteor
i am learning recently Angularjs + Meteor, and am doing this tutorial: http://www.angular-meteor.com/tutorials/socially/angular1/user-accounts-authentication-and-permissions At this exact step, I’m…
-
0
votes2
answers4889
viewsLaravel - How to recover the values of a form and redirect using the Route class?
I am studying Laravel and at the moment I am trying to understand how to send values of forms to be recovered and then redirect to a specific page. I’m still starting with Laravel and I don’t even…
-
0
votes1
answer79
viewsHow to make a select`Multiple` start with the first option already marked PHP Mysql
Follows my component: $query_menu = mysql_query("SELECT rm_id AS FUNCAO, rm_desc AS DESCRICAO, rm_obs AS OBSERVACAO, rm_status AS STATUS FROM radios_menu WHERE rm_status='0'"); echo"<div…
-
0
votes0
answers313
viewsTextarea Editable lines - Thymeleaf and Angularjs
I am building a basic document model, taking advantage of the same idea of colleague (Paulo Henrique), only that I enter the data by fields external to the form, in a previous moment of customer…
-
0
votes1
answer28
viewsResend form and validate again after validation failure
Hello I have a form in which all fields are being validated by jquery, however when the validation fails and shows the messages I can’t resubmit and keeps showing me the error message Follow the…
-
0
votes1
answer383
viewsPhp does not read POST data
I created a form that will be submitted via Jquery, more specifically: http://malsup.com/jquery/form/. Well, send the form, the php file is recognized, it returns the error messages and everything…
-
0
votes1
answer330
viewsPHP form is not sending the email
I have the following HTML code: <form action="send-mail.php" method="post"> <div class="templatemo_form"> <input name="name" type="text" class="form-control" id="name"…
-
0
votes1
answer190
viewsHow to select a dynamically charged dropdown with jQuery?
I am using a form to register dynamic questions in my system. I’m also recording this data in a session so I don’t have to be selecting all the time dropdows but there’s a problem: In the Submit, in…
-
0
votes1
answer76
viewsReturn of Incorrect Form
Hello! From a csv file, because after doing submit On the form do I get the return with the correct values? If the $_POST countries are the same $registo[1], wanted to return the $registration[0]…
-
0
votes0
answers53
views -
0
votes1
answer73
viewsValidate form if variable1 is greater than variable2
Hello, I am with creating a form where the person should provide two values, a lower limit and an upper one, if the lower limit is higher than the upper one I would like an error message to be…
-
0
votes2
answers4705
viewsCreate profile page according to user
I want to make every user registered on my site have their own profile page, where all users can access it and see the information, such as name, email, date of birth, etc.. But I don’t know two…
-
0
votes1
answer67
viewsItem is not deleted dynamically using foreach
I am in a small solvable impasse but not in my head at the moment. I have a list of items in which an delete button for each item. These items are removed by passing as parameter the UUID. If you…
-
0
votes3
answers226
viewsSum inputs checkbox and at the end subtract one
I rephrased that question, I’ll try to be more objective. I have that field on the form: Where the area code you calculate is this: $( "div#molhos :checkbox:checked" ).each(function() { sub += $(…
-
0
votes1
answer45
viewsE-mail using the Phpmailer class
I got the following form on my page index.php : <form id="form-contato" method="post" action="email.php"> <div> <div class="row"> <div class="6u 12u(mobile)"> <input…
-
0
votes2
answers35
viewsDirect access Action Form
Speak guys, recently I started studying php and I’m facing some problems, the most recent was the following. I have a login/registration form and we have the following code. <form…
-
0
votes0
answers356
viewsProblem of accentuation in the form
Guys I made a form sending email and I receive them normally but when there is an accent in the message it comes all "Bugada" with strange special characters the funny thing is that in php code I…
-
0
votes1
answer704
viewsCustomize Contact Form 7’s Chekbox
I’m trying to customize a checkbox contact form 7, wordpress, but I’m not getting it! He should stay like this: And he’s like this: The code in the contact form is this: <label2…
-
0
votes1
answer89
viewsInteraction PHP and Mysql form does not work
Fellas, I’m doing a pro bono job for a public service, and I’ve been trying for days to figure out what’s wrong with my code. If anyone can help me, I really appreciate it. This is the form:…
-
0
votes3
answers1787
viewsHow to validate empty html fields
I need to validate the inputs of a form. I am working with JSP, javascript and html codes. The system is expected to work like this: The person buys and has the purchase steps. In the 1st stasis,…
-
0
votes1
answer50
viewsReactivate jquery function after function call
Good afternoon, I have the following code that inserts inputs into a div when it is clicked on a "NEW" button that also takes direct focus to the first field on the line and that can also happen…
-
0
votes3
answers10624
viewsSuccess message after filling the form with HTML and PHP
I am creating a simple customer registration through a form. However, I am unable to place a "Successfully Registered" message on the same page of this form. The validation of this form, before…
-
0
votes1
answer95
viewsValidation bug with javascript
I have an order registration page, where if the user selects the "no" option in the checkbox, it means that the order is for delivery if he selects "yes", he comes to remove the product in the…
-
0
votes2
answers181
viewsHow to include a string in the database from an input array with Laravel?
I need to include a string data in my database table that I will take for input, which in turn is an array. Follow the form so you can see how it is. <div class="form-inline col-md-12">…
-
0
votes0
answers366
viewsPHP form data does not enter the database
Hello, I’m new in PHP and I’m doing a small scheduling page but I stuck in the input part of the data inside the database, below my codes: Index.php <html> <head> <title> Controle…