input Questions

19

Solved

I want to get only positive values, is there any way to prevent it using only html Please don't suggest validation method
Hook asked 10/9, 2011 at 13:38

3

Solved

show time-picker on click whole input type time HTML5 field not only on the little clock icon For now, it is only triggered while clicking on a small clock icon inside the field, I want it to be tr...
Assumptive asked 9/7, 2020 at 7:58

2

Solved

I'm using Python 3.2 on Ubuntu 11.10 (Linux). A piece of my new code looks like this: text = input("TEXT=") Is it possible to get some predefined string after the prompt, so I can adjust it if ne...
Woodchuck asked 14/12, 2011 at 13:19

25

Solved

I want to change default text on button that is "Choose File" when we use input="file". How can I do this? Also as you can see in image button is on left side of text. How can I put it on right ...
Wisp asked 28/2, 2011 at 5:58

3

Solved

I’m learning py-script where you can use <py-script></py-script> in an HTML5 file to write Python Code. As a python coder, I would like to try web development while still using python, ...
Regardless asked 2/5, 2022 at 23:29

28

Solved

I'm unable to find a way to create an input field in Flutter that would open up a numeric keyboard and should take numeric input only. Is this possible with Flutter material widgets? Some GitHub di...
Suzannsuzanna asked 30/3, 2018 at 16:19

8

I want my uploader only allows these types: doc, docx. xls, xlsx. ppt, pptx. txt. pdf. Image types. How can I achieve this? What should I put in the accept attribute? Thanks for your help. EDI...
Leontineleontyne asked 25/6, 2013 at 9:36

5

We have seen when input type "Text" selected on mobile keyboard it comes up with text, when input type "number" selected on mobile keyboard it comes up with numbers only. And when input type passwo...
Corundum asked 6/6, 2016 at 7:9

4

Solved

I want to make an Input-Field in which you can only write natural numbers. (Yes, I know this can be a bad practice, as the user doesn't get any feedback). If you type anything else than a digit, it...
Laudian asked 15/7, 2021 at 13:11

19

Solved

Is there a way to detect whether or not an input has text in it via CSS? I've tried using the :empty pseudo-class, and I've tried using [value=""], neither of which worked. I can't seem to find a s...
Bedivere asked 6/6, 2013 at 1:56

4

Hello I have some input but one of them is disabled ( yes and i need it for my time sheet )but how do I send it autocomplete.php to insert.php I've this error Undefined index: client1 in C:\wamp\ww...
Invertebrate asked 10/4, 2014 at 13:44

2

Solved

I´m looking for a way to hide the user input from the Read-Host cmdlet. I know I can do this with -assecurestring, but I´d like to save the input as plain text in my variable. Is there a possib...
Asocial asked 9/11, 2016 at 9:10

40

Solved

I've had quite a bit of trouble trying to write a function that checks if a string is a number. For a game I am writing I just need to check if a line from the file I am reading is a number or not ...
Shifra asked 11/1, 2011 at 5:51

17

I have seen that some browsers localize the input type="number" notation of numbers. So now, in fields where my application displays longitude and latitude coordinates, I get stuff like &...
Graces asked 30/5, 2011 at 15:50

5

Solved

This is an exact duplicate of this question; however the code linked in the accepted answer is nearly 11 years old, and this comment in the code leads to my duplicate question: The keysym -> UTF...
Tatouay asked 23/1, 2012 at 10:18

4

I got this problem where I have a form with input validation that contains a reset button which upon clicking should reset the form and thus the state of the inputfields as well as the submitted st...
Pentapody asked 21/4, 2020 at 14:29

51

Solved

I have this simple input in my component which uses [(ngModel)] : <input type="text" [(ngModel)]="test" placeholder="foo" /> And I get the following error when ...
Invocate asked 11/8, 2016 at 9:44

3

Solved

How can I get an input from user in Lua (like scanf in C)? For example, the program ask user his name, then he writes his name, then the program will output his name.
Ajmer asked 22/8, 2012 at 8:29

7

Solved

I am really stoked about the HTML5 date picker. The caveat is that I don't see or foresee much in the way of applying colors to the picker itself which is going to make the use of the datepicker ki...
Amandaamandi asked 18/2, 2013 at 22:1

19

Solved

Let's say I have a text file full of nicknames. How can I delete a specific nickname from this file, using Python?
Kheda asked 17/1, 2011 at 4:38

19

I use material ui v0.20.0 and I have to prohibit saving the password for a user with TextField. I added props to TextField autocomplete='nope' cause not all the browsers understand autocomplete='of...
Del asked 17/1, 2018 at 15:2

6

Solved

I'm trying to get a live output from a HTML5 input range slider into a javascript variable. Right now, I'm using <input type="range" id="rangevalue" onchange="arduino()"> The way I have it ...
Supposing asked 17/10, 2014 at 16:30

16

Solved

Is there a way to detect if a key is currently down in JavaScript? I know about the "keydown" event, but that's not what I need. Some time AFTER the key is pressed, I want to be able to detect if ...
Berkley asked 1/12, 2009 at 20:17

5

Solved

Why does this not work? <input type="file" id="kmlFiles2" multiple onchange="function(){alert('why does this not work')}()"> chrome gives me an error, Uncaught SyntaxError: Unexpected to...
Aftereffect asked 5/6, 2014 at 20:38

29

Solved

I have 2 basic forms: sign in and sign up, both on the same page. Now, I have no problem with the sign in form auto-filling, but the sign up form auto fills as well, and I don't like it. Also, the ...
Ayacucho asked 25/2, 2010 at 22:19

© 2022 - 2024 — McMap. All rights reserved.