Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [inputfield]

Questions about the Mathematica control type InputField.

0
votes
0answers
35 views

FieldCompletionFunction consumes a lot of CPU in Graphics

The output of this code consumes a lot of CPU. Graphics@Inset@InputField[1,FieldCompletionFunction->({"a","b"}&)] I found this occurs when ...
1
vote
0answers
26 views

How to open consecutive dialogs [closed]

I am new using mathematica so I would really appreciate your help. I want to open this dialog: ...
0
votes
1answer
29 views

How do I size a Manipulate input field when using Control?

I'm building a Manipulate object and I need to reduce the width of the input fields for improved usability. I've tried everything I can, and I don't seem to be able to get it. Everything points to ...
1
vote
1answer
53 views

InputField enabled or disabled with two dynamic variables

Dynamic has been really useful for me but it is as well not easy to understand also. I am doing a calculation where I want some of the input fields enabled or disabled depending on where I am in the ...
4
votes
1answer
59 views

Hide part of a CompoundElement in a FormPage

I have a FormPage I am working on that uses CompoundElement to structure the output. In most cases, I want the user to be able ...
1
vote
1answer
37 views

Is it possible to add a title to the inputfield

I was wondering if it is possible to add a title to InputField As far as I know, you can only add a FieldHint, this one will disappear however as soon as the ...
3
votes
2answers
100 views

Colour panel upon condition of an input field

I have something like a "mortgage calculator", and I now want to colour the panel depending on the inputs that the user has made in my input fields. This would be the code: ...
5
votes
1answer
68 views

How to speed up a text search widget?

I have an InputField that searches a predefined list for matching strings and displays them in a TextGrid. But when the list is ...
2
votes
1answer
67 views

How to save values in dynamic fields?

I created a notebook with this line: Grid[{{InputField[Dynamic[x]], Dynamic[x^2]}}] Then, I filled a certain value instead of "x". Then, I closed Mathematica ...
0
votes
1answer
35 views

Operations with list of numbers via InputField

How do you input a list of numbers via InputField and immediately generate their sum (or whatever other operation involving a list of numbers) underneath. I've ...
1
vote
2answers
53 views

ToExpression with variable from InputField won't work

My code looks like this: Column[{InputField[Dynamic[x], String, ContinuousAction -> True], ToExpression[Dynamic[x]], Dynamic[Head[x]]}] When I intentionally ...
0
votes
0answers
42 views

Manipulating Input Fields/Inputting Single Letters (Edited)

I'm curious whether if there is a method of creating InputFields that are similar to this: I am currently attempting to create a crossword puzzle that has an interface like this, and I found it ...
1
vote
1answer
63 views
1
vote
1answer
71 views

How to make InputField admit multiple entries

Is there a way to make InputField[] compatible with RepeatingElement or a similar scheme of user interaction? The idea is to ...
1
vote
2answers
73 views

How can I fix this output?

The following segment of code is part of a project I am making and therefore I cannot show all the code. I hope the one below is enough. The input is ...
4
votes
1answer
69 views

Automatically updating input or inputfield

Is it feasible to make an input field, that or similar functionality, that could be constantly updated while typing or editing, without clicking Enter button? The example is as follows: ...
3
votes
1answer
59 views

Toggle frame color and label on input field

I am attempting to mock up a (somewhat poorly designed) user interface that has input fields that when required AND when the user tries to click OK, changes so that they are outlined in red and show ...
0
votes
0answers
25 views

Enter text with newlines in Inputfield [duplicate]

With InputField we can enter strings or numbers etc. I would like to input a piece of text including newlines, tabs etc. How can I do this? With standard: ...
3
votes
0answers
53 views

Inputfields with FieldCompletionFunction keeps list active in previous field

I would like to have three inputfields with each their own fieldcompletion list in a row. After choosing an item in the first inputfield (with arrow down followed by an Enter) I want to go to the next ...
3
votes
1answer
67 views

How do I do calculations with data from user input?

I'm pretty new to mathematica and I'd like to create a little program that takes user input as variables which it then uses to do some calculations. I have the following code: ...
5
votes
1answer
154 views

Giving the input focus to a particular input field

A couple of versions of Mathematica ago there was discussion of how one can set focus on a particular input field: How to set focus of a dialog window? http://community.wolfram.com/groups/-/m/t/...
0
votes
1answer
111 views

InputField - use later as a function

This is my attempt at trying to write code to do the following. I want the user to Input the function - I then want to create a new function called g[x_] that I can use later to do things like ...
5
votes
0answers
126 views

InputField GUI Glitches

Has anyone observed the following GUI glitches in Mathematica (see screenshots below)? I have noticed this beginning to occur from Mathematica 10 onwards. I've only tested their occurrence with the <...
0
votes
2answers
169 views

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

I'm trying to create an n*n matrix that would follow this criteria ...
1
vote
3answers
161 views

how to ask for user defined function using manipulate

Probably this has been asked before, but I could not find an answer. I am trying to create an interactive applet using "Manipulate" that works with a user defined function. I would like to have an ...
0
votes
1answer
183 views

HoldForm, ReleaseHold for inputfield

I am working on creating a CDF file for a calculation where I do high-precision evaluation of functions such as N[func,40]. I wrote a Module that takes user function and rationalize it, this way I ...
5
votes
1answer
115 views

Is there a way to configure the Ask function so that input fields can be optional?

I see that FormFunction includes settings that could work, but I can't seem to find any way to get it to work within the "Ask" framework. Related: https://reference.wolfram.com/language/tutorial/...
1
vote
1answer
75 views

Run-time user input

A question about run-time data input. I have a notebook that scrapes data from a web site that presents new data every day on a new web page, e.g.: ...
2
votes
2answers
143 views

Changing threshold for scientific notation from 10^6 so that InputField display is uniform

Related to but different from this question. I'd like my InputField to display scientific notation not only for numbers larger than one million, but also for ...
-1
votes
1answer
58 views

InputFields not working updating properly when in a CDF

I have made a calculator and embedded it on my website. It consists of several InputField boxes for inputting equations (x, x^2, 1+x ...). It functions as the notebook does except when the input gets ...
3
votes
0answers
57 views

InputField does not accept all single-character expressions

When I enter ESCinfESC or \[Infinity] into an InputField, such as that below, the input is ...
1
vote
1answer
318 views

Input Matrix using Table and InputField [duplicate]

I'm trying to make a square matrix of InputFields, where the size is dependent on what the user chooses. Each cell should be independent of each other. Here's ...
8
votes
2answers
176 views

Enter numbers into a an already existing list

How can the user enter specific numbers to a an already existed list using InputField, for example: ...
0
votes
1answer
89 views

How to trigger an event whenever the variable controlled by an InputField is changed?

Consider an an InputField object of the form DynamicModule[{x = 0}, {InputField[Dynamic@x],Dynamic@stuffDependingOnx} ] ...
0
votes
2answers
69 views

Solve inside of InputField is not dynamic

On the 7th line, I have an InputField that I want to dynamically change as I change the input. It solves an equation that is later used to determine the change in y intercept in the graph. However, ...
2
votes
1answer
64 views

Have all the parts to my program, except implementing DynamicModule and InputField [closed]

I've posted before and I think (hopefully) I'm almost done. I want to make a program that models a cantilever bending on a box given parameters, like this: I calculated the parametric equations (...
5
votes
1answer
74 views

DialogInput on Raspberry Pi

I have a Raspberry Pi 3 with Mathematica 10.3. The following code does not work properly: ...
2
votes
3answers
321 views

Manipulate with dynamic input

I really new to Mathematica and I am working on developing interactive CDF. To understand the basics I start with a simple example but even with that I have a problem. In this simple CDF I want to ...
0
votes
1answer
64 views

How to avoid improper update of Dynamic in a Dialog?

I want to request user input of an expression of f(x) from a dialog and then use ToExpression on the input. Questions: When I execute the code below, I got r ...
1
vote
1answer
168 views

Dialog box with variable number of input fields

I am trying create a dialog window for updating a variable number of parameters $\beta_i$. Here are the relevant bits of my code, which first constructs a list of $\beta_i$ parameters, then constructs ...
3
votes
1answer
105 views
1
vote
1answer
175 views

ClickPane and InputField entry in a Manipulate

By clicking at a point on the slope field for an ode, a solution is plotted through that point. Additional clicks produce more plots; the plots are saved in graph ...
2
votes
1answer
118 views

How to prevent a definition from overwriting my input

I developed the following manipulate code to be a limited knockoff of Polking's dfield. I export the code to Enterprise CDF so that one may type a first-order ODE into the input box and create a slope ...
3
votes
1answer
148 views

How to keep Mouseover visible while control has focus/cursor?

I have a DateObject and InputField that I am using to collect an inputted date. Mouseover ...
3
votes
1answer
220 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: <...
4
votes
1answer
303 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 L1,r1,...
10
votes
2answers
441 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 ...
0
votes
1answer
113 views
1
vote
1answer
94 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
94 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 here....