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
answer192
viewsCreation and editing in the Spring Framework
I recently started to learn Spring, along with the Thymeleaf template engine for data display. However, I have been facing some problems that I cannot solve: When editing the Star Wars Movie entity,…
-
0
votes1
answer165
viewsHow to pass dynamic data from a PHP form?
I am creating a form where a field is dynamic, I do not know how to pass this various data through the POST. Fields that are not dynamic I can send. The form: <form…
-
0
votes0
answers84
viewsContact form that uses JS to validate and PHP to send not working
I would like help to identify the problem, ultilizo a form that uses JS to validate and PHP to send, but it is not working. It works perfectly on other sites, but when you click SUBMIT (Submit) it…
-
0
votes1
answer934
viewsInput by clicking Add
I want to add a new input, with a perfect name, so I can pick up the information and send it through the form. Follows the code. Requests <form method="POST" action="recebe.php?valida=TRUE">…
-
0
votes1
answer240
viewsRegistering form data with inputs of equal PHP names
I find myself at: implement a form has several inputs with the same name I need to enter the data into the database I intend at the moment: create a record for each user of the platform the form has…
-
0
votes1
answer1423
viewsInput does not allow typing
I have a page with some inputs, I’m using React so I have some components to help when I create the form Form Code: <div className="content novo"> <Alerta ref={(ref)=>this.alerta = ref}…
-
0
votes1
answer2464
viewsInsert, add and display value (in real) using PHP and Mysql
Hello, I’m a beginner in PHP and Mysql. I would like to have a form where I insert a value (in real, in case), disappear with what I have already saved in the database, and finally display to the…
-
0
votes1
answer47
viewsJavascript generating characters that are not present
The code below is in XML and is a form that is being used for convenience generating code HTML, everything typed in the input will be sent to textarea already with the HTML through javascript.The…
-
0
votes1
answer302
viewsList_display in Django/Python
sXDw.png My Models class is like this class Produto(models.Model): NomeRazao = models.CharField('Nome',max_length=50,unique=False,blank=False) CpfCnpj = models.IntegerField('Quantidade',blank=False)…
-
0
votes1
answer48
viewsError form login (front)
I’m making a login and registration screen, but what was supposed to be 2 in 1 ends up separating, is the Sign form up below login. Html <div class="login-box"> <div class="lb-header">…
-
0
votes2
answers154
viewsHow to align items with HTML and CSS?
Again I’m having trouble aligning items. I would like them to align the 3 inputs in the same line with margin, but they go down. #contato { margin-top: 120px; } #contato form { width: 100% }…
-
0
votes2
answers335
viewsModal Form Login appears once and disappears at the same time
I have a problem here with this modal form. JS works fine, but the modal window appears and quickly disappears. How to solve? <a href=""…
-
0
votes0
answers51
viewsThe modal form appears messy
I need a little help. My modal form appears messy when I put inside my project. On the other hand, when I create a separate page, it appears perfectly as it should be. Follow the code:…
-
0
votes1
answer246
viewsHelp to block a form field
I have a form where you place purchase orders when the user chooses the product it brings the price automatically, the problem is that the unit value field is free for changes and I need to block…
-
0
votes1
answer226
viewsDuplicate content and switch None display to block
The goal is that when press on Units, the display:none; of id mostrar-previa for display:block and hidden content is displayed. $(document).ready(function() { var previaUnidade =…
-
0
votes1
answer35
viewsJoomla - How to make a form action work?
I’m learning how to make a module of my own in Joomla. My module mod_monthly planning.php is like this: //No direct access defined('_JEXEC') or die; require_once dirname(__FILE__) . '/helper.php';…
-
0
votes2
answers901
viewsHow to use Multiple select in PHP form to query in MYSQL
I have a search with a select that can select more than one option, but I don’t know how to make them search all the selected options. Currently it does the search, inserts the values in the url (I…
-
0
votes1
answer1083
viewsRemove white space php
When typing the values (one per line), for example: valor1 valor2 valor3 valor4 It will return: value1,value2,Valor3,value4 php input. <html> <body> <form action="junta.php"…
-
0
votes0
answers40
viewsLong forms
I already understand that the best practice is to use one field per line, unless it has a direct relationship, such as: Address and number. Reference. However work in a system that in many fields,…
-
0
votes2
answers436
viewsHow to insert DIV with input fields inside the DIV using jquery or javascript
I have a simple form with add button that when I click it adds 3 text inputs: <form method="POST"> <div id="ingredientes"> </div> <button type="button"…
-
0
votes1
answer206
viewsAJAX POST WITHOUT REFRESH
I’m wanting to do a post without refresh, where it opens a confirmation modal. But it is re-updating the site when the post is submitted and when placed the e.preventDefault(); the post does not…
-
0
votes1
answer23
viewsForm Builder in Dropbox element
I have the following form group: createFormGroup(): Formgroup { Return this.fb.group({ Description: ''' value: '', sku: ' guy: '', }); } where: 'type' should come the value of the dropdown. My drop:…
-
0
votes0
answers72
viewsHow to send a form with Targe Blank and redirect the current page without Crhome blocking?
I have the following scenario: In a form send the data via Ajax, at the time of return if: if (json.retorno == true){ $("#form_imprime").submit(); } If I put a button in the form and send via the…
-
0
votes2
answers56
viewsPHP form does not save
I have this html form: <form id="addRunner" name="addRunner" action="service.php" method="POST"> First Name: <input type="text" name="txtFirstName" id="txtFirstName" value=""…
-
0
votes1
answer902
viewsHow to pick up the text of a select with formBuilder? - Angular 6
I would like to take the value of the text and not the value of the select. <div class="form-group col-md-3"> <label for="ProductName">Product Name</label> <select…
-
0
votes1
answer282
viewsI cannot login with Curl in PHP. URL does not change
I am trying to log into a system using Curl. But I am not able to log in, I believe the problem is the redirect. I have a website (meusite.com.br) that has a form. this form calls the send page.php…
-
0
votes1
answer244
viewsContact form message "Sent successfully"
Can someone please answer me why these errors in the form? <?php // Display errors ini_set('display_errors', 1); extract($_POST); // Configuracoes sobre a pagina $bgcolor = "#FFFFFF"; $titulo =…
-
0
votes1
answer194
viewshelp with shipping confirmation form and popup
hello good need help I am trying to make contact form to then receive in the email and wanted to appear a popup instead of page to confirm sending can help me **mail.php** <?php if…
-
0
votes1
answer149
viewsError sending form with if:Lse in the Standard
I am making a small form with option to upload files with Windows and I ran into a problem at the time of submitting. The following problem occurs: When sending the uploaded form it sends and stores…
-
0
votes2
answers108
viewsLoop form on the Laravel
Good morning, I’m trying to make a form in a loop for each row of the table, when the user clicks the button on a row, picks up the data from that row and loads on another page, but for some reason…
-
0
votes1
answer455
viewsthrow new Methodnotallowedhttpexception($others); Laravel 5.7 Sending HTML form
When creating the update in Laravel this giving the error. protected function methodNotAllowed(array $others) { throw new MethodNotAllowedHttpException($others); } View {!! Form::model(array('route'…
-
0
votes1
answer28
viewsIs it possible to turn validation into form error in Angular?
It’s kind of hard to explain. I have a form that checks a field if it is greater than zero. If so, I show a message to the user. I want to turn this into a form error, because I can only release the…
-
0
votes0
answers274
viewsDjango form linked to registration
I have two tables in Django (Game and Goal) and I’m trying to create a form for them: class Jogo(models.Model): ativo = models.BooleanField(default = True) dataHoraInicio =…
-
0
votes0
answers23
viewsOption and file upload values do not arrive by form
I was finally able to finalize the file submission form. The email reaches my inbox but without the file and without the value of Selection, from where the customer marks the option. Could someone…
-
0
votes2
answers238
views -
0
votes1
answer45
viewsFill a select by clicking the previous select
My php code public function getCadastro(Request $request) { $redes = Rede::lists('nome','id'); $municipios = Municipio::select('nome', 'id')->pluck('nome','id')->all(); $municipios_id =…
-
0
votes0
answers34
viewsPrevent user to type numbers and symbols. However problem something use Capslock Buttons
When I click the input and hit Caps Lock, Backspace, it sends the patch message. for example, I type the normal and safe Backspace input to delete everything, when it comes at the end it shows the…
-
0
votes0
answers41
viewsHow do I control a split form?
I have a system that has a lot of <input>necessary to assemble a requisition, they are divided into 4 parts (components), each part having one or more subparts (subcomponents) I don’t want to…
-
0
votes1
answer71
viewsSend attachment by php form
Hello, I have a PHP file that sends data from my HTML folder via Email. Only that I would like to send attachments also(resume)because it is a page of "Work with us". I’ve seen plenty of tutorials…
-
0
votes2
answers113
viewsProblems with Reactiveforms at Angular
Hello, I’m having a hard time finding a solution to my problem so I’m here, I’m trying to create a search field on my page, it’s not doing the research, but it’s not returning any errors in the…
-
0
votes1
answer495
viewsHow to center a form vertically and horizontally with responsiveness using bootstrap?
Hello! Please, I need help/guidance. I am a beginner and am creating a login with bootstrap and would like to center vertically and horizontally this form. <div class="container"> <form…
-
0
votes1
answer874
viewsAngular 7: How to update the html variable automatically when its value is changed in the . ts file?
I have a variable that gets value when the page renders, and it looks right in the template. However if I change its value with the page already loaded the value in . ts is updating (checked with…
-
0
votes1
answer49
viewsCapture action from a form on a button
Good Afternoon I made a normal filter, but in order to be able to format the filter in a more effective way, I want to take the Div Button, but when I do this the button stops working because it is…
-
0
votes1
answer45
viewsDo not open window if fields are not filled in
I have a submit button in my form, with an action in jquery to open a window depending on the user’s choice. However, I just want the window to open if the fields are filled. I have this code and…
-
0
votes1
answer60
viewsWordpress with CF7 recording in external Mysql
Inside a WP I have a CF7 form and I need the fields (usually are [this way] as variable default in CF7) to be sent to an external PHP page that will receive these values through the link and write…
-
0
votes3
answers127
viewsCloning elements with Javascript
I am facing problems to clone elements with javascript. The problem: As shown below, the form contains a checkbox that when clicking executes a function that changes the input value Qtd Min. By…
-
0
votes1
answer177
viewsIf function with decimal numbers
I am a designer and an adventurer in programming and eventually adapt some codes in projects. I have a situation here that I couldn’t handle on my own. The following code analyzes the value entered…
-
0
votes2
answers60
viewsVariable via POST to sed
I’m with a Raspbian running on a Raspberry Pi3, I’m making a system on top of it that needs the person to choose the hostname typing it into a field. And to change the hostname from rasp I need to…
-
0
votes0
answers147
views -
0
votes1
answer204
viewsForm value API Request - Javascript Axios - Ajax
I am trying to enter a value in the form and if the value is equal to the login string of the api return me the login property and show in HTML. Html do form e do button <input id="procurar"…