Questions tagged [user-input]
User Input is data that the user inputs into the program. It generally takes the form of a String, but may also be an integer, floating-point number, etc.
user-input
5,637
questions
0
votes
2
answers
30
views
Python "Inputimeout" not working as expected
So I'm trying to build a simple typing speed test. It takes the input for 60 seconds and calculates typing speed and accuracy. I used "inputimeout" to try achieve the objectives, however, ...
0
votes
0
answers
44
views
VBA Wait to confirm logging in the web page
I wrote a code to direct a user to a login web page and now want to identify if he/she logged in successfully just by page's own login form after clicking "Enter" button, then when a new ...
0
votes
0
answers
103
views
How do I make my C code return the error message for alphanumeric input [duplicate]
My code is supposed to take in a numeric score and return the grade it will receive. My code correctly returns an error message for all invalid input except alphanumeric. With alphanumeric input, it ...
1
vote
1
answer
54
views
Error while using scanf for user inout in C [duplicate]
I am trying to make a script which will need an integer as user input.
printf("What is your guess?\n--> ");
int guess;
scanf("%d", &guess);
But when I try to ...
0
votes
0
answers
25
views
How does the input method(IME) adjust the output encoding according to the current character encoding used by editors?
I created 2 empty files in VS Code, one with UTF-8 encoding(file.utf8.txt) and the other with GB 2312 encoding(file.gb2312.txt).
If we use the od command to view the contents of these 2 empty files, ...
-1
votes
1
answer
22
views
how to check html input element for min value before form submit
I wish to perform input validation on html input elements, like min value, before the form submit event.
( since I am implementing a workflow, and by the time submit is pressed/executed, the elements ...
1
vote
1
answer
26
views
I can't print user input as ascii characters in Odin
I just want to take user input and then print it back but it will just print numbers. I don't know how to convert a byte array to a string or an ascii character.
I just started trying Odin. There is a ...
0
votes
1
answer
45
views
Trying to get user input results in a build error. Zig
I tried getting user input with std.io.getStdIn().reader().readUntilDelimiter(buffer, '\n') but it results in a build error that doesn't provide much help:
Build Summary: 2/5 steps succeeded; 1 failed ...
0
votes
1
answer
21
views
undetectable Dart-Input in Visual Code Studio
I made a script in in Visual Studio Code using Dart that grabs the user's input.
The problem is, that if I enter something in the input line in vscode, which is located below the debug console and ...
1
vote
0
answers
35
views
How do I select an InputField with the new InputSystem during a UnitTest?
I'm trying to integrate Unit testing for my UI (Play Mode test) and I saw that the new InputSystem support automated input testing.
I check the manual and the samples in github repository but I can't ...
-2
votes
1
answer
28
views
How to filter password user input char-wise for special characters, suppressing ESC sequences in Bash?
I'm trying to find a solution which can filter user input for a password char-wise via read command (not by read -e, which prevents directly responding to key strokes), filtering and handling special ...
-1
votes
0
answers
12
views
Error in Java scanner, automatically assigns "Empty" to Input scanner [duplicate]
I am giving the user a menu to choose from, once I run my program and I use all choices it runs smoothly except for choice number 3 , it runs for only one time, after the first iterate , it ...
-1
votes
1
answer
54
views
UserInputService isn't detecting inputs
For some reason, my code doesn't work in any way. Does someone has an answer why UserInputService doesn't work for me?
local player = game.Players.LocalPlayer
local character = player.CharacterAdded:...
0
votes
0
answers
30
views
how to transform user input into functions
i'm trying to code a numerical algorithm for approximating limits of functions in python, i'm self taught so dumb errors are to be expected.
My goal is for the user to input a function and certain ...
1
vote
0
answers
37
views
Getting Value in Streamlit Element not linked to Variable
As part of my code, I create a text input for each field within my table using a loop and I assign each of them a key. How would I retrieve the values entered in those text inputs since I do not have ...