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
answer533
viewsReact Native - text input does not lose focus
I put a <TextInput/> to do the search action on my project, but after I click on this <TextInput/>, focus no longer leaves it, no matter where click on the screen, the function onBlur()…
-
0
votes1
answer732
viewsFlutter - How to use Scrollview correctly when showing the keyboard?
I’ve seen several videos on youtube about it but in my code it doesn’t work like in the video. I’ve looked at some questions and some dirty using the code below, but it doesn’t solve the problem.…
-
0
votes2
answers48
viewsHow to run a function only once and stop it if an onBlur occurs?
I have two inputs: what is typed in the "Title" is duplicated in the "Material Code" with the appropriate normalizations (i.e. space conversion and character removal). Is there any way - using pure…
-
0
votes2
answers32
viewsInput and reset problems
Why the 2 input elements placed at the end of the code are doing nothing? <!DOCTYPE html> <html> <head> </head> <body> <form action="https://Example.com"…
-
0
votes1
answer159
viewsoptions in html input
in html there is a property called SELECT and also the INPUT and I would like to make a INPUT with options equal to SELECT but how can I do that? the code I used: <!DOCTYPE html> <html…
-
0
votes1
answer49
views -
0
votes1
answer43
viewsUpdate input value with Bootstrap touchspin
I’m used a input "quantity" which multiplies the value of the input "unit value" and updates the input "total value". So far working all right. So I started using the bootstrap-touchspin : <input…
-
0
votes1
answer26
viewsProcessing to save + signal in the BD through a registration form
I have a tire brand registration form, in one of the input fields where I inform the model of the tires, I need to pass the + example sign (ecoplus+). I take the values of the fields through a…
-
0
votes1
answer26
viewsHow to take values only of checkboxes that are checked and those that were not checked do not return anything?
HTML code <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <div class="card card-success card-outline"> <div class="card-header"> <h5…
-
0
votes0
answers14
viewsInput type "reset" calls password save option in Google Chrome
Hello, everybody. I have a problem/bug and would like your help. I have a user registration form. I put a input type="reset" to clear the data if necessary. However, every time I click on this…
-
0
votes1
answer77
viewsSum checkbox with predefined values. Javascript
I’m trying to add value values that were selected via checkbox with pure Javascript. What I’m missing ? Follow the line of code I rationed ... HTML <h2>Escolha seus destinos:</h2>…
-
0
votes1
answer37
viewsAngular11/HTML - Problem with autofocus
Hello, everyone. I’m having problems with autofocus. I have a login form with user and password. autofocus is in the user input. After the first login, save user and password to not need to type…
-
0
votes1
answer28
viewsTake an input value and play value in another input by Javascript
Good evening, I would need the user to choose how many classes you want in select and then the system will calculate the value and put in the other input, I don’t know where I’m going wrong if you…
-
0
votes1
answer23
viewsHow to change 2 values by changing the [input type=range] to be rendered on the page? VUEJS
I am trying through Vuejs to change the pages and the corresponding values when moving the input type="range". For example: value: 16$ / 100K PAGESVIEWS, value: 24$ / 500K PAGEVIEWS I would also…
-
0
votes1
answer28
viewsTextinput value does not change - React Native
So I’m taking these values in Asyncstorage and they come from my database, so far so good, I take the const’s and I play in them the values I pulled. but I need to be able to edit this by the text…
-
-1
votes1
answer578
viewsHTML input showing PHP result
I’m starting to play with PHP, and I’m kind of designing a web system. The system would be more or less an idea like this. The user fills for example, a code (ID), say 001212 in an input of type…
-
-1
votes1
answer1359
viewsReplace wrong words in a Text Box
I wanted an idea of how to create something of the type, text field, where we type some wrong word(s) and soon is corrected(s). For example: <body><input type="text" id="exibir"…
-
-1
votes1
answer53
viewsHow to insert a single right answer into the input tag?
I want the input tag to have a single right answer. When inserting an answer (here we will call it "exemplo2"), go to a certain page (here, we will use "https://www.google.com").…
-
-1
votes4
answers741
viewshow to calculate the amount of days with date input?
My question is this:: I have two input type date. What I want to do in Javascript is to calculate the number of days from the first to the second, ie if the person put dateEntrada = day 02/06/2018…
-
-1
votes2
answers1000
viewsChange Input color when typing x characters
I wish that when a person typed more than 10 characters in my input, he changed the color to green, otherwise it turns red. That without the refresh. The person would not need to click the button in…
-
-1
votes3
answers856
viewsValidate input without variable
num = int(input("Digite um numero: ")) if num <= 10: print("Ok, numero registrado") else: print("Numero invalido, digite outro numero menor que 10") If the number is greater than 10 is to type a…
-
-1
votes1
answer1071
views -
-1
votes1
answer108
viewsInput returns string,
I did this logic exercise where I read three numbers and print them and ascending order. The logic is OK but the inputs return a String I tried to give parseint but did not solve, I would like a…
-
-1
votes1
answer702
viewsHow to rename DEFAULT in the <input type ="date" > tag
I’m putting in a form one input type=date , with this he returns to me mm/dd/aaaa. I would like that, instead of appearing this, appeared anything else that I typed, as for example "Initial Date".…
-
-1
votes2
answers1918
viewsInput Cpf and phone accept only number
How can I make the input Cpf and phone of my form accept only numbers, using javascript, I tried to put the type="number" but I found it very bad, and depending on the user’s browser does not work,…
-
-1
votes1
answer307
viewsInput in multiple attributes of a Python class
Hello guys I’m having a question about multiple attributes of functions or methods through the function input. For example: class Pessoa(): def __init__(self, nome, idade): self.nome = nome…
-
-1
votes1
answer50
viewsHow to play an input values in a div?
<link href="https://fonts.googleapis.com/css?family=Fugaz+One" rel="stylesheet"> <link rel="stylesheet"…
-
-1
votes1
answer59
viewsChange input color when data is not valid?
That code works: this.state = { backgroundcolorQuatro: '', backgroundcolorSeis:'', backgroundcolorDez:'', quatro:'', seis:'', dez:'' } validar = () => { if (this.state.quatro !== '4') {…
-
-1
votes1
answer44
viewsVariable value without space in PHP/ HTML input
I’m having a problem printing a value of a php variable into an html form. I printed without spaces, but in the table the data comes normal from the database. Example: Testing test b he prints…
-
-1
votes1
answer72
viewsPick up value typed using Javascript
Hello! I would like to take value typed on the 1st page and present it in a 2nd html page using Javascript. I just get the value to appear on the same page. <input type="text" id="cidade" />…
-
-1
votes3
answers164
viewsRead more than one line with input
I’m trying to read several numbers in this format and save them in a list: 2030706155721618 3230170874838235 4782877637240802 2406118837772520 4886405615781541 1520748465125584 1766850807841275…
-
-1
votes1
answer22
viewsHow do I make the text input remain selected after I click enter (enter adds the input text to a task list)
Entire list <main id="base_list"> <div id="title_list"><p id="title_text">ToDo list</p></div><!--TITLE LIST--> <form id="input_back" > <input…
-
-1
votes1
answer288
viewsFirst always empty input in Formgroup
The first input of the form does not load the value from the indexedDB, nor does it carry a new value typed for recording in the database. import { Component, OnInit } from '@angular/core'; import {…
-
-1
votes2
answers686
viewsIs it possible to input in the middle of a Python 3 print?
Something like a input in the middle of a print, it is possible? I’m trying to do something like this: print (f "Eu quero digitar {input ('')} palavras.") If I need some pygame module or whatever...…
-
-1
votes1
answer2147
viewspass two parameters via GET
Hello, I am doubtful how I can pass 2 parameter via GET, only the second would be after the answer of the first. what I want to do is select an item in an input select and update the page with that…
-
-1
votes1
answer2368
viewsHow to change input value within div with Avascript
I’ve even managed to change an input inside the div, but when I try to change the input of other div I can’t, I’ve tried several things and nothing. div1 <div class="container"> <div…
-
-1
votes1
answer127
viewsAge tester
I’m developing this application in Javascript to check the age, and change the background color and photo according to the user’s situation. One of the problems I’m having is with the VER button,…
-
-1
votes1
answer54
viewsIncorrect position when using import file
I’d like the numbers on the imported file to show up in the cell phone box, not below, like this one showing up. If anyone can help me with that, I’d appreciate it. That and the test: <!DOCTYPE…
-
-1
votes2
answers326
viewsGet radio input value display on same page, no refresh
I cannot take the value of the type of freight that the user chooses and display it on the same page in the checkout box. This is the page the user enters the freight <div class="delivery">…
-
-1
votes1
answer328
viewsLimit the amount of html css characters
I made this input html + css and it’s okay, I just don’t want to limit the number of characters to 10, I tried the maxlength="10" but does not answer. Someone can help me? <div…
-
-1
votes1
answer45
viewsDisplay other output before input
I’m creating a code to analyze the activities sent by the students of a school. The idea is to make each activity appear, one by one in my notebook and through an input I trigger other codes,…
-
-1
votes1
answer74
viewsHow to limit the amount of characters that one input text assigns to another in Javascript?
Dear ones, researching about my question, I found something similar in ONLY in English, but I still can’t limit the characters that the "Title" input duplicates in the "Material Code", even though I…
-
-1
votes1
answer24
viewsinput with jquery sends value, but php does not query in BD any dirty?
<script> jQuery(function($){ $('#busca-cid').submit(function(){ $.post('lista-cidades.php', $('#busca-cid input'), function(retorna){ …
-
-1
votes1
answer56
viewsTake value in Currency and remove "." and "," from an input field?
When the person enters the value in the input field with "." and "," I take this amount and leave only number, I am doing this using the "focusout" method. Because this way when the person type the…
-
-1
votes1
answer26
viewsHow to display a hidden icon after loading a file through input file
I have a screen where there are several input type="file" and I’m trying to make an icon appear when the user loads a file, making it easier to see that that input is already with a file. Below…
-
-2
votes1
answer626
viewsI cannot return to input the value of a PHP POST
I have a form with four numeric fields, ncr11, ncr22, ncr33 and ncr44. There is still another field in the form, ncr, that will receive a total value, which corresponds to the sum of all the first…
-
-2
votes1
answer100
viewsHow to implement an inputText for "Tags" or "keywords" in Android Studio?
I am creating an android app and need a simple inputText that allows the user to type "tags" very similar to the field of questions here on the site. How do I implement this? Do I need some external…
-
-2
votes1
answer300
viewsForeach group values
I have the following code foreach ($_POST['codmunicipio'] as $key => $valor2) { $codmunicipio = $valor2; $valor_ipl3_f = $_POST['IPL3_valor_F']; $valor_ipl3_j = $_POST['IPL3_valor_J']; $sql3 =…
-
-2
votes1
answer58
viewsI am trying to create a sketch of deleting items from a list. The data that will be deleted is the input() that will determine
objetos = ["1", "2", "3","4", "5", "6"] escolha_cliente = input("ESCOLHA OS ITENS OU DIGITE FIM PARA NAO ESCOLHER NENHUM: ") if escolha_cliente.isdigit(): escolha_cliente =…
-
-2
votes1
answer73
viewsHow to make the input follow the last character inserted?
The problem is this. I made a calculator and the result input this as readonly. To insert the number into it just by clicking on the buttons I made as shown in the following photo: However, when…