Questions about the Mathematica control type InputField.

learn more… | top users | synonyms

3
votes
1answer
31 views

Manipulate with a function as a parameter

I'm trying to make a Manipulate command to plot the contour lines of a function of two variables $f(x,y)$. I think I should use the "InputField" option somehow, and I thought of something like this: ...
3
votes
1answer
52 views

Assign values to parameters from a list/Matrix using GUI

Assume there is a list like: ma={{L1,r1},{L2,r2}}; I want to convert the ma to a GUI which asks me about the values of ...
8
votes
2answers
301 views

AJAX-style HTTP calls triggered by a variable change

I'm trying to create a dynamic InputField that would autocomplete the address as I type it into the field, by calling Google Maps' GeoCoding API on every change of ...
9
votes
2answers
222 views

Making an application based on user input

I purchased Mathematica a few days ago, and although I am a mathematician, my programming and Mathematica knowledge is close to zero. So please help and point me to some resources for the following ...
0
votes
1answer
34 views
0
votes
1answer
51 views

Want to display a animation necklace when updating a list of suggestions from an inputfield search

I have an InputField search that provides search suggestions, but I want an animation necklace to be displayed while the search is 'busy'. I would also like this to be done using Dynamic rather than ...
2
votes
1answer
34 views

Modifying generalized input so there is no default input

I'm currently working on a demonstration and attempting to utilize the Interpretation command based on the example provided in the "Generalized Input" tutorial ...
5
votes
4answers
216 views

Dynamic list in which the sum of the elements is invariant under changes to the elements

2nd Update Here's a snapshot of a graphical user interface I'm thinking. I hope this could be self-explanatory and demonstrate the functionalities I mentioned in the 1st update. Thank you all! ...
1
vote
1answer
48 views

Declare type in InputField

Is it possible to declare a type in InputFunction to only accept positive Integers as input? I know i can create an ...
1
vote
2answers
126 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
49 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
76 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
28 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
83 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
69 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
77 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
82 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
41 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: ...
2
votes
1answer
128 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
166 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
131 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
149 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
57 views

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

I get the same behavior for v10.1.0, 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 ...
0
votes
1answer
75 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
63 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
434 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
51 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
56 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
126 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
79 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
126 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
106 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
111 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
216 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
87 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, ...
5
votes
2answers
179 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
54 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
179 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
279 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
76 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
177 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
171 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
182 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
194 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
129 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
123 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
390 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 ...
8
votes
0answers
125 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. ...