Questions tagged [input]

Input is usually related to user input, i.e., to the data that user supplies to a running application. In many systems this input is considered to be potentially dangerous and needs to be sanitized to ensure that the user has not injected runnable code into the application.

For questions pertaining to the HTML <input> tag, please use instead.

Input is any form of information that is provided to an application or process. In interactive graphical user interface (GUI) applications, input is often taken from the user via input controls such as textboxes and drop-down lists. In non-interactive services, input is often taken from local or remote resources, or service requests.

34931 questions
6
votes
3 answers

Remove the arrow that appears for input type="time" for HTML5

I am using the default HTML5 sample line of code: I have used a custom background. I want to remove the black arrow that appears on the right. The image shows a black arrow that appears. Need it remove it. I tried many css tricks but didn't work.…
6
votes
2 answers

%[^\n]s in scanf does not wait for input and gets skipped

In the loop in the code below, scanf("%[^\n]s",array) is not working. It does not wait for input and gets skipped. But a space before % fixes the issue. Why? Here is the wrong program: #include #include int main() { …
ammasum
  • 118
  • 1
  • 9
6
votes
1 answer

Shiny/R: Hide error message when no value in selectizeInput

I have a question about shiny app. When there is no value select in numeric input and selectizeInput, my shiny app will show an error because of the empty data frame. I would like to hide the error message if user haven't select their input yet. I…
Joanna
  • 663
  • 7
  • 21
6
votes
2 answers

Advanced input in python

I want to receive some information from a user in a next way: My score is of 10 - is already printed Between 'is' and 'of' there is an empty place for user's input so he doesn't enter his information at the end( if using simple input() ) but in…
Bohdan
  • 424
  • 1
  • 4
  • 15
6
votes
2 answers

It is possible to have 2 different font sizes in one input placeholder in css?

Is it possible to have 2 different font sizes in one input placeholder in CSS? something like this design: In regular html you can make it with span,:before,&:after and etc. but in input you cant make all this things so i want to understand if its…
Erez Lieberman
  • 1,893
  • 23
  • 31
6
votes
3 answers

is there a way to use input("Press any key to continue") on version 2.6

I want the program to pause and wait until you press any key to continue, but raw_input() is going away, and input() is replacing it. So I have var = input("Press enter to continue") and it waits until I press enter, but then it fails with…
Dag
  • 1,101
  • 4
  • 11
  • 13
6
votes
2 answers

CSS for input[type="submit"]

Before I start crying, could someone please explain why none of the attempted CSS soltions for styling a submit button have any effect at all? I've gone for font-size: 50px to make it obvious if I hit the right element, which I haven't yet: …
Robin Andrews
  • 3,514
  • 11
  • 43
  • 111
6
votes
2 answers

Safari IOS - Input doesnt lose focus on click outside (Blur dont trigger)

I dont know why the blur event does not trigger when I click outside the input text (on the paragraph in yellow). So the keyboard cant close. The only way I can trigger it is when I click on the body (in blue in the snippet). I have put many…
Vreuche
  • 63
  • 1
  • 4
6
votes
4 answers

pymouse.click not interfacing with other software

I have used pymouse to help automate repetitive games in the past with success. However, when playing a game downloaded on BlueStacks, pymouse will appear to move to the correct position on the screen, but then no clicks will "register". If I put…
Vincent Laufer
  • 705
  • 10
  • 26
6
votes
4 answers

How do I make my inputs line up the same on Firefox as they do on Chrome?

I’m trying to get my elements to align properly on Firefox on a small screen (I’m using Mac El Capitan). I have these elements

Search For Race Results:

user6447029
6
votes
2 answers

Angular2 ngModel change binding on Input type="number"

I have a number type input and when I try to change the value with an onChange event, it does not work. I've tried the same for a text input and it works perfectly.
Rob
  • 11,185
  • 10
  • 36
  • 54
6
votes
2 answers

Changing the background colour of an active input selector

Any reason why when I run this code, input[type=submit]:active { background-color: green; } when I click the desired button it only flashes green for a split second and then returns to the original colour? How can I keep it permanently green?
The worm
  • 5,580
  • 14
  • 36
  • 49
6
votes
4 answers

Use of [] in fscanf()

I've a text file with following contents: "abc","def","ghi" The following works to read the file contents properly: int main() { char name[1024] = {0}; FILE *file = fopen("file.txt", "r"); while(1) { if (fscanf(file, "…
Donotalo
  • 12,748
  • 25
  • 83
  • 121
6
votes
3 answers

c# reading user input without stopping an app

I know I can use ReadKey for that but it will freeze the app until user presses a key. Is it possible (in console app) to have some loop running and still be able to react? I can only think of events but not sure how to use them in console. My idea…
Ptr
  • 149
  • 1
  • 8
6
votes
3 answers

Logstash with multiple kafka inputs

I am trying to filter kafka events from multiple topics, but once all events from one topic has been filtered logstash is not able to fetch events from the other kafka topic. I am using topics with 3 partitions and 2 replications Here is my logstash…
Abhijeet
  • 139
  • 1
  • 2
  • 7
1 2 3
99
100