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
votes0
answers114
viewsvalue of the deletion input on click
I have this code in javascript which I pass values to inputs. When I use this code it inserts the data into input usually but when I do one click after passing the values the input automatically…
-
0
votes1
answer98
views -
0
votes1
answer60
viewsFollow Focus sequence after reloading page
I have a page html, multi-field input, where I want to pass them in sequence using the tab key. I used the tabindex="" to follow the correct sequence. But one of these fields reloads the page to…
-
0
votes1
answer121
viewsPHP does not recognize all Multiple input files
Good morning, I’m doing a function to upload several images, but in PHP only reaches the last one. Here are my codes: HTML <form id="msform"…
-
0
votes0
answers71
viewsCreate auto complete in input?
I want to do an effect of autocomplete in a input, as a prompt, example, I have the following commands in a array php: ADD SUB SHOW MUL I want to make sure that when he starts typing, for example…
-
0
votes0
answers347
viewsPlace a balloon on top of input[type=range]
I am generating a form from a php, it generates an html equal to this: <div class="mf_slider"> <div class="mf_slider_label">Você tem cabelos brancos?</div> <div…
-
0
votes1
answer39
viewsInput Text similar to google drive file sharing
Hello! I would like to know how to make my text field look similar to the image. I need to take the bank’s valuables and leave them like this when selected. It already works with jquery…
-
0
votes1
answer312
viewsRecover File Input from Bootstrap File
Is there any difference in the time of recovering the Input File in Bootstrap for common HTML? I’m using the following code: and retrieving/printing on the other page with echo $fileTamanho =…
-
0
votes1
answer486
viewsvalidate image input file jquery Multiple 4 ways
Good evening guys, I have an Multiple input file and I need to do 4 validations before sending the form. 1) Limit the number of images sent to 10 2) images have to be of type jpeg or png ( put only…
-
0
votes1
answer210
viewsBecause input does not appear in php Function output
I created a function (I’m doing some experiments) to generate input, textarea, select, etc, through Function. But the result is partial. There is no error in the function, but only what is text…
-
0
votes2
answers863
viewsCalling function after choosing date
Good morning, I have an input text with a datepicker. The input has a Validator function that changes the color of the input as the text is right or wrong. But in this case as I don’t write directly…
-
0
votes1
answer496
viewsCheck if an input was loaded with jQuery
I need to check if a text input has been loaded on the page and check if it is filled in, how can I do that? I’ve tried $('input'). on('load') but it doesn’t work, and the way the script is done I…
-
0
votes1
answer160
viewsHow to access page according to input text field?
Hello, I have an input field in my HTML, I want to make that depending on the typed text, it goes to page x or y. I also need that depending, go to a page and on this page change the src of an image…
-
0
votes2
answers17029
viewsCNPJ validation in Javascript
I have a simple doubt. I want to validate the cnpj of an institution registration. In this input is already placed the mask, in which the mask is in js. However, I cannot validate this field. I took…
-
0
votes1
answer356
viewsCheck the type of input
Good people! I need to do an input check for a job and I’m not getting this right. This is what I got till agr: def verificação1(): while True: try: quantidade=int(input("Insira a quantidade: "))…
-
0
votes2
answers1034
viewsNameerror: name 'input' is not defined
I don’t understand the error in this code... def checkio(number): #Your code here #It's main function. Don't remove this function #It's using for auto-testing and must return a result for check.…
-
0
votes1
answer3366
viewsHow to clean input?
OBS.: url and number types mainly but if you want to put of other tb without problems) Preferably in pure Js! I’ve tried things like this.value'; and they haven’t solved! OBS 2 : I have read the How…
-
0
votes0
answers127
viewsInput File in specific directory
I need to create a system to attach files that will be used via Web to attach link. However, connections are saved on a local server separately ( 192.168.0.6 VOICE VOICE). When I click on attach it…
-
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
votes0
answers209
viewsJava Spring MVC error 400 - Search for 2 fields
You guys, blz?! Next, I’m finalizing a project to complete a chair in college and I’m getting a very strange mistake. I’ve already checked with another classmate, but we can’t identify. I need to…
-
0
votes2
answers85
viewsInput does not send combobox value
<TR> <TD bgcolor="#CCCCCC" class="myinputstyle" size=16 >Cidade:</TD> <TD> <select name="cidades" > <option value=""></option> <option value="sp">São…
-
0
votes1
answer427
viewsTake the data from a select and declare variable
all right? I am very new to programming and have a simple question that I did not find here on the forum. I have this code below the view (codeigniter): <div class="span6"> <label…
-
0
votes3
answers173
viewsHow to capture the numbers for a single line array?
I have to write a code in C++ in a question where, first, the user enters a number that determines the size of an array, and then, insert in a single row, separated by spaces, the numbers of that…
-
0
votes2
answers2451
viewsSave the result of select in a variable and use this variable to fill the input that will then be used to do an UPDATE in the same table
I am trying to recover the data from a table inside an input where the user can be updated and save in the same table through UPDATE. I managed to do the UPDATE, but edit the data by input and send,…
-
0
votes1
answer157
viewsHow to calculate the value of two inputs one of type range and other option and print result in real time?
Guys, I would like to know how I can be doing a calculation, in which I would take a range value and the value of an option and print the result in real time, but even if no option is selected and…
-
0
votes1
answer75
viewsPhpmailer does not recognize "-" character in the form input
Hi good evening/morning/afternoon. I’m having a problem with a simple registration input. It just doesn’t recognize the "-" character. I made an email to test "[email protected]" only when you…
-
0
votes0
answers60
viewsiReport + PHP + Input Value Pass
I’m in doubt, I need to issue a specific report. I need to take a name typed by an input field, and generate the report through that name, I did a search on parameters, and did not understand very…
-
0
votes2
answers370
viewsAutocomplete in dynamic fields
I have an autocomplete system and dynamic fields, my autocomplete does not work from the second dynamic field nor do I stop using id tags and replacing them with classes, please see: <script>…
-
0
votes2
answers3743
viewsTo set a select field with a preset value
I need to have the select field bring me the information that is in <%=addressable.getState()%> in which it returns "SP". In the input for city, I can get the value of…
-
0
votes1
answer548
viewsStyle autocomplete background
The bottom of input is transparent, but when the browser automatically completes, it gets this color shown in the second image, is there any way to leave completed, but that remains transparent?…
-
0
votes0
answers1261
viewsTransform letters into numbers with a Function
I am developing a code that consists of taking a letter and transforming it into a corresponding number (Example A->1, B->2...), and this letter is received through a input text. I found a…
-
0
votes1
answer413
viewsYii2 framework Multi input in the same form
I’m using the widget https://github.com/unclead/yii2-multiple-input along with yii2 and I’m having an error at commit time. My scenario is this: In my "catalogs" form the user can when creating the…
-
0
votes2
answers2295
viewsHow to generate JSON files through forms?
I want to store the data that users put into inputs in separate JSON files so I can use it later. Can someone help me?
-
0
votes2
answers57
viewsHow to create a checkbox that cannot be changed (readonly)
I would like to make sure that the checkbox is not changed (readonly).
-
0
votes2
answers390
viewsjQuery validate input characters
I am doing a function activated by input onkeydown, which should check the given characters one by one, and only allow input of those that are valid, this must happen before the characters are shown…
-
0
votes1
answer194
viewsadd input in time format
I have 3 input the first receives start time the second departure time and the third subtraction between them. function calcular(){ var segent = parseInt(document.getElementById('segent').value,…
-
0
votes0
answers48
viewsHow to forward the input to another page?
Hello, my problem is this, I have a page made in php to run the download, and I need to call it on the button(input) already tried by onclick, but at the same time I call the page need to…
-
0
votes2
answers67
viewsinput is inside the fildset tag, but is cutting the line
input { font-size: 16px; margin-bottom: 20px; border-radius: 5px; border: 1px solid #ccc; position: relative; }…
-
0
votes1
answer337
viewsError with custom inputs
Hello, I’m using a script to add input fields to a div: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script type="text/javascript"> //…
-
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
answer132
viewsInput('type=number'). each(Function()) )}; does not recognize value only returns Nan
The question title function only works by returning an entry of type=range as a number in the browser. Already on Smarthphone only returns Nan, probably the jquery.1.9.1.js or jquery-mobile.1.4.5.js…
-
0
votes0
answers67
viewsword limit with jquery
i am using the xoxco jquery.tagsinput plugin to insert a field with tags in my article, however I need a limit of tags inserted there, so I need a word counter to limit how many words are inserted,…
-
0
votes1
answer50
viewsSplit string into parts with 2 parameters to find
Here is the code that takes description of the 2 column of the table var descricao = $(elemento).closest('tr').find('td').eq('1').html(); that and the description CALIFORNIA [2,90] [BRE25] [3x80]…
-
0
votes1
answer138
viewsChange color of the clear input "X" icon
I need to change the color of the "X" icon linked to this input: <ion-item> <ion-input placeholder="Clear Input" clearInput></ion-input> </ion-item> So far, by the search I…
-
0
votes0
answers163
viewsEdit input suggestions
Hi, I would like to know how to edit the suggestions of the Exp input: when the user writes something in the input in his suggestions show the results of the request by ajax so he can select with…
-
0
votes1
answer1455
viewsHow can I check the text size of an React-Native input?
hello, I need to take the text of an input in React-Turn on and check if this typed text has less q 11 characters, how could I make that check? I’m new to React
-
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
votes0
answers36
viewsHow to add a Form to an array of files?
I made a small script to upload images so you can choose as many as you want. At the end is an array with all the information. How can I make this array with the files go to the request so that 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
votes1
answer203
viewsInput type button does not work on smaller screens
I’m editing some pages in C# and I checked that on screens smartphones the button confirms the type button doesn’t work. Follows code: <input type="button" id="bt_confirmar" value="CONFIRMAR"…