Most voted "input" questions
It is an input element that represents a typed data field, usually as a form control to allow the user to edit or enter data.
Learn more…466 questions
Sort by count of
-
0
votes1
answer29
viewsSelect a certain Input value
Guys, I’m finalizing a project, by which the user beeps (barcode reader) an input the barcode of a invoice and need to return only the number of the invoice (9 positions) in another input. The key…
-
0
votes0
answers465
viewsUpload multiple files in the same form and write name in the database
I have a registration form with two file input. One called file (an image) and the other called arquivo_download(a pdf). In my table I have a column [image] and another [downloads], which write the…
-
0
votes1
answer455
viewsPopular input type according to Selection made in Combobox(OPTION)
When selecting a user in my select I need to pass what I have selected to the fields of my form.. below this my method that picks up this information. public function LerDadosUsu(){ try{ $lerusu =…
-
0
votes1
answer3083
viewsdoubt Input type date
Good afternoon, I am making a form, for registration and modification of users. When I try to insert a date in type="date" inputs, no data type is displayed on the screen. These dates I’m using all…
-
0
votes2
answers1483
viewsMandatory field message with jQuery
People I made a validation that when the user does not fill the input my button gets disabled more wanted to display a message to inform the user that the field must be filled is possible to do this…
-
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
votes1
answer747
viewsHow to add limit value along with jquery Mask?
Guys I’m using the mask plugin of this link: https://igorescobar.github.io/jQuery-Mask-Plugin/ I use the following jquery to make the mask: $('.decimal').mask('000,0', {reverse: true}); However I…
-
0
votes0
answers83
viewsChange input file field
I’m having a problem with my file changing files pdf. I just wanted it to change when the field input file is completed. is not showing any error, only when I edit the form, and do not fill anything…
-
0
votes0
answers438
viewsLine break inside an input type "search"
How to enable a line break, in an input type="search"? defining the amount of typed characters and the height of the search bar when identifying a specific amount of words for a line break, ??…
-
0
votes0
answers95
views -
0
votes1
answer631
viewsHow to make input content appear on Alert?
To illustrate what I want, it’s like I write something on input and when you press the button, appear, in the alert, the text I wrote. In Javascript: function myFunction (){ var input =…
-
0
votes0
answers262
viewsMy Error Notice: Undefined index: file in C: xampp htdocs zayonet start.php on line 99
I have some problem with this code below. I have a form where the user has two options between simply writing a text and publishing or an image text. Unfortunately the $_FILES["file"] is being…
-
0
votes1
answer209
viewsSave source of user traffic
I need to save the source of user traffic. As the post URL is different from the form URL, I am using an Hidden input in the form to redeem this data (if not, the source of traffic will always be…
-
0
votes1
answer2354
viewsPHP - MODAL window
I have tried some scripts but unsuccessfully, I ask for forgiveness if you have in any forum already, but I looked for the modal and nothing supplied my need, there goes: I have a modal inside the…
-
0
votes0
answers222
viewsTransfer (paste) files from the clipboard to a file input?
I got the following input archival: <input class="botao" @change="carregarFoto" type="file" name="photo" accept="image/*"> <img :src="foto" style="width:192px;height:108px;" />…
-
0
votes1
answer573
viewsASP . NET MVC - Using a @Html.Dropdownlist for two Actionresult
Hello, I’m developing an application with ASP . NET MVC and using the Epplus API for XLS export. In the View of an equipment report I have two @Html.Dropdownlist with Type of Equipment and Status…
-
0
votes1
answer156
viewsInput added with . append() does not send POST data
The script below adds groups of fields in a form. So far ok. Fields are added but when I send the form I only receive data from fixed inputs, which are added dynamically are not received. Code:…
-
0
votes1
answer45
viewsDetect field type sent in PHP POST
There is how to identify the type of field that is coming in a post? Whether it’s Text or Array? Example: I have listbox (select Multiple) and text fields in html, and in it the user may or may not…
-
0
votes2
answers44
viewsProblem with form formatting
Good morning guys, I have a certain problem in the newsletter form of my site. I have done several researches trying to solve the problem, but the lack of knowledge of the area I think is making me…
-
0
votes2
answers859
viewsFill inputs dynamically after change in select
Good afternoon, I need help with a part of the code. I basically have a form with two selects(aluno_id, product name) and some inputs(price, quantity, total price), I use functions to fill arrays…
-
0
votes2
answers107
viewsHow to clear multiple input fields by classes?
How to clear the value of multiple input fields by classes? Using Jquery? I did so, but did not fuck! form.find('input').not(".class1 .class2 .class3").val('');…
-
0
votes0
answers42
viewsScroll through the values of an input file in PHP?
I’m trying to go through an array of various images in PHP, however, I’m not getting it, follow the code below: HTML: <input type="file" name="img[]"…
-
0
votes2
answers58
viewsInput is not appearing checked
I have a input of which according to user data in your session it comes marked or not. The problem is that even the input owning checked="checked", he doesn’t come marked. Code of input together…
-
0
votes1
answer2051
viewsHow to make the Multiple file input field in a second selection keep the previously selected files?
When Open the file selection window it lets me select multiple files, OK!. But after opening the files if user click again to open more files it clears the previous selection... How to make him…
html filing-cabinet input multiple-file-upload multipleasked 5 years, 9 months ago Richard Barcelos 21 -
0
votes0
answers96
viewsHow to stop and restart a Jquery function that can be triggered by several elements?
Hello, I made a screen with a virtual keyboard, for a touch screen application. The client wants two inputs on the same screen and when the user selects an input, the keyboard must enter the values…
-
0
votes2
answers136
viewsJavascript declare variables outside the function
I just want the sum of these two numbers, it works when I declare the variables within the function, why isn’t it working like this? I’m getting Nan. <form> <input type="number"…
-
0
votes0
answers63
viewsPlayer with adium sent by the user
Good afternoon, you guys! I have a page that has an area that the user needs to add custom audios in each player. For the purpose I need, a playlist would not be as effective. It would need to be…
-
0
votes1
answer76
viewsJavascript function not active in input
Good night. Notice the image above, I have a form and in it I use Abels that fix themselves at the top (example of CEP input there) when I type something into them (JS input event). So far so good,…
-
0
votes1
answer59
viewsHow do I stop the image from disturbing the input?
The transparent part of the image is in front of the input, I know it’s a simple problem, but I couldn’t solve it. The image I’m using is this: <style> .firstBlur { margin:20px 20px 0;…
-
0
votes1
answer79
viewsSubmit file with jquery
Good afternoon, I need a code that simulates the submission of an input file that when selected some value, it submits to php in the same way as if it were submitting in an html form. For example…
-
0
votes0
answers445
viewsStore the time of an input type Time field in a Time type column
I am working on a website that schedules real estate surveys, and I need to store in Mysql the time the person requested the visit. I am using an HTML input field of the Time type. The field in the…
-
0
votes2
answers730
viewsInput number accept point in firefox
can help me? I have this input number that must accept decimal values. People fill the decimal with a dot (.) and not a comma (,) In all browsers works very well, EXCEPT in firefox which is our…
-
0
votes2
answers1571
viewsReceive text typed in input text, put in variable and apply in link
I want to receive the text in a field typed by the user and, when clicking on Ubmit, it will be generated a link with the text and sent to Whatsapp as in the code below: <form…
-
0
votes2
answers758
viewsCount radio inputs that are :checked
I have two inputs in each group with name equal, where each one has values different, whole and half Using the if and else or otherwise, I would like to count the inputs that will be checked. When I…
-
0
votes1
answer30
viewsinput is not pulling right bank value
I need some help. On my system, I have an input that brings back a date from the database. As you can see in the photo above the date informed is 06/09/2017 00:00, only that the actual date of this…
-
0
votes1
answer535
viewsCall Action as parameter in Html.Beginform - ASP . NET MVC 5
I have a code that queries a Webapi, writes to the database, and queries the database, in this application, a view that has 3 buttons, namely: Consult Ws Inserts BD Comic book consultation I am…
-
0
votes1
answer40
viewsCheck the input and then click the button
As I do only if the input is marked is that one can click on "ok,". <div class="container"> <button type="button" class="btn btn-info" (click)="openModal(template)">Create template…
-
0
votes1
answer32
viewsSending email with dynamic inputs
I’m using a code like this: https://codepen.io/leoamrl/pen/Yayzoj to add fields to my form. How php would send forms like this? Follows current php code: <?php header("Content-type: text/html;…
-
0
votes1
answer115
viewsRead multiple variables in the same line (Scala)
I need to read three variables in the same line in Scala, I read an answer in English but the method did not work, "readline" and "toInt" are not recognized. Follow my code. If anyone knows a way…
-
0
votes1
answer2656
views -
0
votes1
answer376
views<select> calling either a text field or another select
Guilherme Costamilam mto thanks for the answers. I don’t know where I’m going wrong in the code. I’m going to see if you can help me. <!DOCTYPE html> <html lang="pt-br"> <head>…
-
0
votes2
answers1155
viewsPick up input values
Hello, I would like to know how to get the information of each input of my form, are inputs in html and other generated in Javascript, I want to send the information by backend PHP to another page.…
-
0
votes1
answer1241
viewsDynamic Form : Create and remove inputs
I am trying to develop a form that creates and removes inputs according to the user’s choice. I was able to create only one type of input at a time through javascript, but the project has 9 input…
-
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
answer270
viewsDynamic Input, Laravel, JS
Hello, I’m trying to make a dynamic input, consists of a button that you add two fields at once, a text and a file, but I need to persist this in the database, I think I need to make the input Names…
-
0
votes1
answer299
viewsUpload file with pure javascript, (Crawler) inputar file
I am crawling a web page and there comes a time when I need to upload a file, this Crawler is to test a system. What I need to do is with the pure javascript inputar a document on the following…
-
0
votes0
answers26
viewsHow to disable Google Chrome input autocomplete
I am aware that there are already other questions like this one here in the community. However, I realized that the solutions pointed out are no longer working. And it makes sense, because the…
-
0
votes0
answers34
viewsInput to create "posts" on news site
I’m making a personal project of news site using Laravel and Mysql. When a user was going to register a news item, I wanted them to be able to insert paragraphs, bold and other formatting in the…
-
0
votes1
answer540
viewsChange the writing of an input text through JS
I have an input field that receives the amount of products input type="number" class="form-control" min="0" max="5" id="pugQuant" placeholder="0" onclick="calculo();" And another that shows the…
-
0
votes1
answer121
viewsInput value property does not work with Angular
I’m having some problems with the property value of a text field: <div class="container"> <form class="row"> <div class="col s4 input-field"> <input id="campo" type="text"…