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] ...
m_goldberg's user avatar
  • 107k
8 votes
Accepted

Hold[Expression] (or similar) in InputField that truly holds the input unmodified

InputField[Dynamic[var], Boxes] ...
kglr's user avatar
  • 384k
7 votes
Accepted

Dynamic InputField with syntax highlighting?

Here is what you can do: ...
Kuba's user avatar
  • 136k
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 (...
kglr's user avatar
  • 384k
5 votes
Accepted

How do I create a n*n matrix with a Do loop?

Better to use Table: ...
Chris K's user avatar
  • 19.6k
5 votes
Accepted

Colour panel upon condition of an input field

Try wrapping the Option value in Dynamic: ...
Mr.Wizard's user avatar
  • 270k
5 votes
Accepted

Local variables in DynamicModule affected by outside evaluation

If you work with Boxes you don't have to worry about evaluations: ...
Carl Woll's user avatar
  • 130k
5 votes

Local variables in DynamicModule affected by outside evaluation

Here's a different way to inject the value of name into the cell: ...
Michael E2's user avatar
  • 234k
4 votes

DialogInput on Raspberry Pi

I think this is a bug in the RPi version of the software. Consider the following code: ...
bobthechemist's user avatar
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 ...
straton's user avatar
  • 61
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's user avatar
  • 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: ...
Carl Woll's user avatar
  • 130k
4 votes
Accepted

How to make InputField admit multiple entries

Here's something to start with: ...
Kuba's user avatar
  • 136k
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's user avatar
  • 136k
4 votes
Accepted

Hide part of a CompoundElement in a FormPage

Here's a convenient function for Form* (and other cloud stuff) debugging: ...
b3m2a1's user avatar
  • 46.6k
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 (...
Lukas Lang's user avatar
  • 33.5k
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 ...
kglr's user avatar
  • 384k
4 votes
Accepted

How to set up the Enter, Shift+Enter feature in InputField?

Combining your attempt with the technique from this answer: ...
Lukas Lang's user avatar
  • 33.5k
4 votes
Accepted

Dynamic text input of equation for graphing

...
kglr's user avatar
  • 384k
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's user avatar
  • 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 ...
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 ...
b3m2a1's user avatar
  • 46.6k
3 votes
Accepted

Toggle frame color and label on input field

Move the Dynamic on Labeled to the FrameStyle: ...
Michael E2's user avatar
  • 234k
3 votes
Accepted

Problem with DialogInput and store variable

This is how I'd do it: ...
Kuba's user avatar
  • 136k
3 votes

How to save values in dynamic fields?

As @Kuba says in the comments, use DynamicModule with the SaveDefinitions->True option: ...
Carl Woll's user avatar
  • 130k
3 votes

Colour panel upon condition of an input field

You can use Dynamic directives for the Background and BaseStyle options of each ...
MarcoB's user avatar
  • 65.8k
3 votes
Accepted

InputField enabled or disabled with two dynamic variables

...
kglr's user avatar
  • 384k
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's user avatar
  • 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 <...
Mr.Wizard's user avatar
  • 270k
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 ...
Carl Woll's user avatar
  • 130k

Only top scored, non community-wiki answers of a minimum length are eligible