9
votes
Enter numbers into a an already existing list
The simplest way is just
data = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}};
InputField[Dynamic[data]]
Dynamic[data]
...
8
votes
Accepted
Hold[Expression] (or similar) in InputField that truly holds the input unmodified
InputField[Dynamic[var], Boxes]
...
7
votes
Accepted
6
votes
Enter numbers into a an already existing list
Perhaps, something like:
inpF = DynamicSetting[Map[InputField[#, FieldSize -> 2, Alignment -> Center]&, #, {-1}]] &;
Use it as (...
5
votes
Accepted
5
votes
Accepted
5
votes
Accepted
Local variables in DynamicModule affected by outside evaluation
If you work with Boxes you don't have to worry about evaluations:
...
5
votes
Local variables in DynamicModule affected by outside evaluation
Here's a different way to inject the value of name into the cell:
...
4
votes
DialogInput on Raspberry Pi
I think this is a bug in the RPi version of the software. Consider the following code:
...
4
votes
Reading in scientific notation from C++ to Mathematica
For those wishing to transform a full data file with numbers in scientific notation that is output from Fortran (or C, et al.) as "1.6E-19" and ...
4
votes
How can I make an InputField with a proper newline/carriage return?
It appears that an undocumented InputFieldBoxOptions -> {"ReturnEntersInput" -> False} does this:
...

Kuba♦
- 136k
4
votes
Accepted
Automatically updating input or inputfield
You can use the option ContinuousAction->True to get the desired behavior, but this option only works for the Boxes, Number and String types. For example:
...
4
votes
Accepted
4
votes
Accepted
How to speed up a text search widget?
The bottleneck is the fact that Pane 'cares' about full content even when only the fraction is needed. We need Pane that fits ...

Kuba♦
- 136k
4
votes
Accepted
Hide part of a CompoundElement in a FormPage
Here's a convenient function for Form* (and other cloud stuff) debugging:
...
4
votes
Accepted
Having three Control Objects for the same Dynamic variable which can override eachother
Note: See also my other answer for a different approach and a discussion of the differences between the two.
You can achieve what you want by introducing a helper variable (...
4
votes
Accepted
Focus on `InputField` upon creation?
You can assign a box id to an input field using BoxID -> "id" and use the function FrontEnd`MoveCursorToInputField ...
4
votes
Accepted
How to set up the Enter, Shift+Enter feature in InputField?
Combining your attempt with the technique from this answer:
...
4
votes
Accepted
3
votes
Accepted
Setting display precision in InputField with Dynamic variable
So, you can use very general answer from Michael E2 (the bottom of his answer) or this quick fix:
...

Kuba♦
- 136k
3
votes
How do I create a n*n matrix with a Do loop?
I suggest you define a function, m to create your matrix. Here are two possible for m
Carl Woll
...
Community wiki
3
votes
Giving the input focus to a particular input field
So to complement Kuba's answer, digging in the CloudObject source code (because there's that auth dialog) you find that even they still use the BoxID system. Look ...
3
votes
Accepted
3
votes
Accepted
3
votes
How to save values in dynamic fields?
As @Kuba says in the comments, use DynamicModule with the SaveDefinitions->True option:
...
3
votes
Colour panel upon condition of an input field
You can use Dynamic directives for the Background and BaseStyle options of each ...
3
votes
Accepted
3
votes
Accepted
InputField, PasteButton, and Check not playing nicely with each other
How about not committing to the assignment if the syntax is not valid:
...

Kuba♦
- 136k
3
votes
Accepted
Updating a Dynamic variable based on another variable's change
Pardon me if I miss the point, as this looks rather complicated but I'm only giving it a quick look-over. Does it work to move your first If expression inside the <...
3
votes
Accepted
"How to create an auto updated FieldCompletionFunction
You have several issues. One is that the list of names contains only a single name ("Steve, Stan"). The other is that you are using f in your function. It would be ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
inputfield × 157dynamic × 60
gui-construction × 27
manipulate × 17
front-end × 14
dialog-window × 6
string-manipulation × 5
hold × 5
interface × 5
list-manipulation × 4
graphics × 4
functions × 4
output-formatting × 4
notebooks × 4
cdf-format × 4
user-interface × 4
eventhandler × 4
function-construction × 3
import × 3
formatting × 3
scoping × 3
input × 3
free-form-input × 3
plotting × 2
matrix × 2