Questions about the Mathematica control type InputField.

learn more… | top users | synonyms

1
vote
2answers
90 views

Checker rut for over 7 digit numbers

In Chile the RUT identifier identity, every rut has a check digit module 11 is used, I made this code to 7 digits, but not me 8 digits, a number of 7 digits is the abcdef- form (check digit ) and ...
1
vote
1answer
43 views

How to prevent automatic simplification in InputField?

Here is a basic example: {InputField[Dynamic[x]], Dynamic[x]} This code generates an input box with and dynamic display. What is disturbing me is that when ...
1
vote
0answers
68 views

Substitute for 'InputField' in Wolfram Demonstration

My application relies on the ability of users to enter text, and has several settings with a huge range of potential values best entered as strings (to comply with Wolfram's admonition to "choose your ...
3
votes
0answers
26 views

Cursor Automatically Placed in InputField [duplicate]

When creating a DialogInput box with an input field, I'd like the created box to have the cursor already active in that box. That way one only has to type the input, not 1) click in the box then 2) ...
0
votes
2answers
40 views

how to use InputField function within the manipulate function

I am trying to make a demonstration that can take in a matrix and create a vector field. Currently I have the demonstration all functioning but to define the matrix it uses sliders. I know they cannot ...
3
votes
1answer
50 views

How use TraditionalForm input in InputField?

Inside a Manipulate, I'd like one of the controls to be an InputField and to allow the input entered to be in traditional form. ...
1
vote
2answers
63 views

How change style of InputField in a Manipulate?

Is it possible to specify a style, e.g., font size, for InputField type controls inside a Manipulate and if so, how? For ...
1
vote
1answer
64 views

How do I utilize the dynamic input field function in the manipulate function? Can I use this functionality to import a .xls from an URL dynamically?

Im trying to get my program to import a .xls for manipulation, I need to import the .xls at an url location dynamically, I did have this at the beginning of my code: ...
2
votes
0answers
40 views

Dynamic Slider and InputField: some numbers with machine precision display badly [duplicate]

I want to control a value in my program either by a Slider or an InputField. The following code does what I want in principle: ...
1
vote
1answer
84 views

How to write 1.0 in InputFields with ContinuousAction and Number constraint

With the concept of user responsiveness in mind, I’ve tinkered a couple of small apps that are supposed to be eh… responsive, i.e. calculating without having to press enter. They all rely on ...
6
votes
1answer
118 views

Limit characters/digits entered into InputField

When using InputField, whether setting the input type as a Number or String, is there a way ...
6
votes
1answer
113 views

Can a field be used for both input and output (example: exchange rate calculator)

Suppose I want to build a simple currency converter like this one: The functionality is straightforward: enter an amount in any field box, it gets converted into other currencies whose fields are ...
4
votes
2answers
134 views

InputField as both in- and output fields with ContinuousAction

Many years ago, I made a handy little program in Flash. It consisted of a number of input fields, each representing a variable that was dependent on all the others. As soon as any field changed, the ...
2
votes
0answers
41 views

Background color does not display in InputField unless Appearance option is also specified

I get the same behavior for v.10.0.2 and v.9 with OS X (10.9.5) : No background color is displayed in InputField if I just set properly the option. For example, ...
0
votes
1answer
63 views

Text input style with math expression inside

I would like to make a text input with a math expression(yellow background) within the text input. Like this: But unfortunately I don't remember what it's called. Thanks!
0
votes
0answers
46 views

How to add Shift-Enter in external script?

I often generate MMA scripts externally w/ python to copy/paste into a notebook or run MMA directly on that file. I want resulting output interleaved w/ input commands, as would happen when the ...
1
vote
1answer
292 views

How would I input this truth table into Mathematica or Wolfram Alpha

I am unsure how to put the negations after a gate or before a gate?
0
votes
0answers
48 views

Disable Input Assistant Mathematica 10 [duplicate]

In the new Mathematica 10, every time I hover over a function for more than 0.001 second, this stupid box appears. In Mathematica 9, I had disabled it. However, no matter what I change in the ...
2
votes
0answers
52 views

How to copy text from InputField

The problem when you copy text from one InputFiled to another. Inserts in unnecessary places gap. For example copy the text "#bbb" (without the quotes) from one field to another get "# bbb" (without ...
0
votes
2answers
104 views

How can I name and manipulate several Input Fields? [duplicate]

I am completely new to mathematica--and have a very basic knowledge of programming. I would really, very much appreciate it if someone could explain to me how to refer to values entered into specific ...
1
vote
0answers
74 views

Preforming Operations on Input Fields

I'm setting up a CDF document (in mathematica 9) that takes a cone and plots a point on it. The input required from the user is the radius of the cone at the base, the height of the cone, and two of ...
2
votes
2answers
116 views

Evaluating an If expression inside Dynamic

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

Tab between elements in a GUI layout

If I have a bunch of input fields, I can tab between them quite conveniently, but if I want to navigate between the input fields and another element (in my case, a button), I have to click on the ...
2
votes
1answer
92 views

Table with some editable cells

I have a table: I want it to be editable only where the zeros appear. I read this post Generating an editable table that can be used as input because it's almost exactly what I want, but I couln't ...
2
votes
1answer
196 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 ...
0
votes
1answer
82 views

How to read long numbers? [duplicate]

Now, I have a data file (abc.dat) and it includes many long-Fortran-like numerical numbers as follows, ...
4
votes
2answers
156 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
50 views

Convert variable into function

Sorry if this is a duplicate, but I have a variable called H. H is some complicated function of ...
5
votes
0answers
121 views

Make Enter create new line break inside InputField [duplicate]

I would like to write multiple lines of text inside an InputField, using ContinuousAction->True to update some variable ...
0
votes
1answer
177 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 ...
2
votes
1answer
257 views

How can I create an interactive application that accepts data and and plots it?

I have some code in Mathematica which shows a colored plot, where the coloring depends on data values. I would like to make this into an interactive application that accepts two inputs: data, a list ...
1
vote
1answer
72 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 ...
2
votes
1answer
162 views

Hide input with multiple output cells

I want to hide my input, but not with "close cell". i also want to have fast access to the input cell. i found Mr.Wizard's AutoCollapse function, but it doesn't work with two or more Print-functions ...
0
votes
1answer
142 views

How to remove quotation marks from a generic InputField

I need to use an InputField with a generic dynamic variable (not restricted to be Number or String or whatsever) and I don't want to see the quotation marks in the case the input is a string. Here is ...
4
votes
1answer
174 views

Pretty InputField

I'm trying to create a "template" notebook for myself. I want to get input from a single InputField, and then run a few operations on it. How can I make the ...
1
vote
1answer
179 views

Input text field GUI [duplicate]

Is there a way to input multiple rows of text and save it as a variable? Like an InputField, but with multiple rows? I would like to make a simple text redactor, so that I could enter a text and then ...
1
vote
0answers
62 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
123 views

Module Inside ToBoxes or MakeBoxes

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

How to preserve focus on InputField after Print?

If you press Enter in the example below it should become clear that test is being adding to the textbox instead of the current ...
4
votes
3answers
360 views

Input field that appends to a list

I'd like to make a dynamic, changeable list, which has elements that are supplied by the user in an InputField. I want the program to have an InputField and a "reset" button. Every time the user ...
7
votes
0answers
107 views

Detect when InputField gets keyboard focus

How might I detect when an InputField comes into focus? For example ideally something like this would work. ...
2
votes
1answer
96 views

Interaction of InputField with Row (but not Column, Grid or Panel)

In Mathematica 9, there's an interaction between InputField and Row. The following fragment (without or without ...
0
votes
1answer
193 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
190 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 ...
7
votes
4answers
409 views

Autocomplete InputField

Is there a way to define a InputField that displays a list of options as you type? More specifically I'm looking for an ...
2
votes
0answers
74 views

Must Run Cell Twice to Display Values

What is going on here? Print[InputField[]] CellPrint[TextCell["my\"text", "Text", ShowStringCharacters -> True]] If I insert the above code into a blank ...
0
votes
1answer
63 views

InputField AutoSize Speed Issue

How do I have an InputField adjust to fill the remaining size of the window automatically? For example: Using the ImageSize ...
3
votes
1answer
235 views

InputField with Scrollbars [duplicate]

Edits are marked in bold: How do I make an InputField that behaves just like the following HTML Textarea example. ...
2
votes
1answer
248 views

How to apply a free-form input Function using InputField

I am trying to take a free-form input Function to create a list using NestList. ...
2
votes
1answer
89 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 ...