2
votes
2answers
75 views

Evaluating an If expression inside Dynamic

I was trying to display some value inside a InputField. Usually it looks like this: ...
2
votes
1answer
96 views

Dynamically Updating Function

I use Mathematica 8 and am working with DynamicModule. I'm trying to enter a function in an InputField then later apply it to two values entered in subsequent Input Fields. The function just does not ...
4
votes
2answers
128 views

Entering scientific notation in an InputField

I am trying to make an InputField for numeric input, but InputField[Dynamic[num],Number] Does not allow the user to type ...
0
votes
1answer
170 views

How to build an interface that plots an equation given as text by a user?

I would like to create a window where a student may enter an equation and, by clicking on a button, the function gets plotted. In the original Spanish: Quiero realizar una ventana en la cual el ...
1
vote
1answer
63 views

InputField Insertion Point Movement

I am trying to make the Return Key move the insertion point to the end of the input field's text. Please see the example below for the problem I am facing. Namely, when the return key is pressed, the ...
1
vote
0answers
60 views

Convert ImageSize to FieldSize [duplicate]

How might I construct a function called EmToPX[p] such that the following 2 InputFields would be the same width. If not please ...
2
votes
1answer
112 views

Module Inside ToBoxes or MakeBoxes

Does someone mind explaining why Module doesn't seem to work while inside ToBoxes or MakeBoxes. ...
0
votes
1answer
155 views

How to compute values only if input fields are filled?

In the following code how can I keep the DynamicModule from computing values if the input values are not all filled? If I don't specify default values it will show the code used to compute the values ...
2
votes
1answer
168 views

Autoupdate Dynamic Variable and Selectable

Does there exist a technique to construct a Cell that allows you to both auto update a Dynamic variable and allows you select the code while the variable is being ...
2
votes
1answer
86 views

How can I find ,Which InputField was recently updated?

I have 4 InputFields.I want to find which InputField was recently Updated out of all ...
1
vote
3answers
256 views

Dynamically filling matrix with a[[n,m]] = 1/a[[m,n]]

I'm building a square matrix, with 1s on the diagonal and elements in U the inverse of elements in L, which are random integers drawn from the sequence 1, ..., 9. Given the nature of the problem I ...
7
votes
2answers
269 views

How to efficiently get the value from form UI built with dynamic InputField

Here is the code that I used to make a tabular UI. ...
2
votes
2answers
296 views

How to get dynamic results of the values in three InputFields

I have three InputField-s which have no initial value. I would like all InputFields to have a value in descending order and for ...
2
votes
1answer
205 views

How can I change InputField value dynamically

I am storing the values from xlData to the result in a Grid form. I want when I change any of the value in any of the ...
4
votes
1answer
339 views

help with dynamic input

I'm trying to build a pop up window with i lines. Each line would read: Number of neurons in layer 1: Number of neurons in layer 2: etc until layer i The user would enter a numeric value on each ...
6
votes
1answer
154 views

How can I make sure all InputFields have values before processing a nb form?

This is a two part problem: I have a form that accepts both numeric and text inputs, then runs a function using a "process" Button. The issue I'm having is users that forget to fill out all of the ...
17
votes
4answers
471 views

How can I make an InputField with a proper newline/carriage return?

The return key does not work as expected in an InputField, how can I overcome this?
11
votes
1answer
472 views

InputField does not update correctly

By fiddling with Vitaliy's solution for a small GUI, I've come accross this particular behaviour of InputField: ...
10
votes
1answer
211 views

Rounding problems inside InputField

Consider the following InputField InputField[Dynamic[h2, If[# === Null, h2 = h2, h2 = Round[#, 0.001]] &], Number] The ...