Questions tagged [numeric-input]

For all questions related to getting numeric data entry from users.

One of the common processes in many programs is the ability to request and retrieve numeric data from users. This tag should be used for questions related to that subject.

45 questions
1
vote
2 answers

How to update numericInput from two different sources in R?

I'm trying to build an easy Shiny Application where I can take up the current heating curve from a heating system in a building and visualize it in a plot. This happens manually with 4 numericInput Fields (2 values for x-coordinates and 2 values…
1
vote
1 answer

How to create mutually dependent numeric Input in Shiny?

Please find the working code below. Basically, there are 3 numericInputs which allows the user to change anyone at a time and the other 2 should adapt themselves resulting in 1 A + B + C = 1 However, since they are interlinked, they seems to be…
Abhishek
  • 407
  • 3
  • 18
1
vote
1 answer

Creating multiple numeric input according to the variables of an uploaded dataset

I am working on a Shiny app that allows the user to upload their own data and analyze them. At a certain point, I'd like to allow the user to introduce new data as numeric input and to build a new table including them. I'd like my app to do it…
1
vote
1 answer

r shiny Prevent an app from crashing when numericInput is empty

I have a very simple Shiny app that is working. The user enters a value on box 1 and then in box 2 and then hits 'run'. However, when the user hits backspace in one of the two numericInput cells until nothing is entered, the app crashes. How could I…
user3245256
  • 1,842
  • 4
  • 24
  • 51
1
vote
3 answers

r shiny numericInput allows the entry of values above the max

Just checking if there is yet a solution to this issue: I don't want the user to enter values in "Input number 2" that are above the allowed max (whatever is entered in "Input number 1"). It works when the user uses the spinner, but not when the…
user3245256
  • 1,842
  • 4
  • 24
  • 51
1
vote
0 answers

How to make a numeric input in react be empty if the value is set to 0

Here is the code I am rendering : The numeric input at the start is empty - which I want and once I change it to a number e.g 2 and then bring it back down it stays on 0. Any ideas how to keep it empty if there is no value inside? array = ['a',…
R.Kon
  • 11
  • 4
1
vote
2 answers

Clojure/compojure: How do you process user input from a webform?

I am making a Clojure web-app to process numeric input data. I have set up the main page and am working on having the inputed data processed and displayed after submission via a button. key bits of code with comments: (defn process-grades …
kurofune
  • 1,055
  • 12
  • 26
0
votes
0 answers

Open numeric keypad on focus in html/javascript

How to open numeric keypad automatically on page load in Chrome in Android? Tried