Skip to main content

Questions tagged [form-building]

Questions about creating form interfaces and apps using Mathematicas form building features targeting the native notebook interface, on the web, or in mobile apps.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

How to programmatically generate Slot expressions for the function in FormFunction?

I am making a FormFunction expression programmatically, based on external lists of questions and possible answers. Here is a toy example: ...
Gareth Russell's user avatar
2 votes
1 answer
125 views

How to Properly Understand FormFunction

So I am trying to use Mathematica to design a DnD alignment "editor" if you will. The input I want to be provided locally via a FormFunction and will be ...
Chloe's user avatar
  • 165
0 votes
1 answer
62 views

FormFunction and Program Input

I am trying to run a little program on the cloud where users have to supply some input - numbers. I wrote enter code here formShort = FormFunction[ FormObject[{{&...
RUG's user avatar
  • 61
0 votes
1 answer
43 views

Error handling of Databin

I am using Databin in a FormFunction and would like to check whether the DatabinAdd[] was successful. If it is not I get a \$Failed but I am unable to check for it. ...
Matariki's user avatar
  • 3,382
2 votes
3 answers
113 views

Holding after evaluation

Given this little piece of code: ...
DrSvanHay's user avatar
  • 167
0 votes
0 answers
36 views

Use Graphics in a XM-Template

I'm trying to make a Form that outputs a few matrices, and I figured I'd use an XML-Template to format the output. Here is a minmal example of the problem. I'd like a Matrix output as in: ...
NumericPrime's user avatar
0 votes
1 answer
114 views

FormFunction with variable number of related inputs

This is a modest extension of the example discussed in workflow/BuildAMultipageForm. I'd like to build a form so that the first page asks for the number of inputs and the second page asks for numeric ...
user46831's user avatar
  • 643
2 votes
0 answers
27 views

Displaying tables in FormPage & width control

I've been struggling to make a cloud deployed form whose output is a table of data. Here is a toy example: ...
Gabriel Landi's user avatar
6 votes
1 answer
122 views

Change FormFunction button color

Simple question. How can I change the FormFunction submit button color? It's possible to do that? I didn't find any way to do that in the documentation. The close ...
Murta's user avatar
  • 26.3k
2 votes
1 answer
149 views

How do you upload text from a PDF using FormFunction?

I can import text from a PDF using text = Import[filename, "Plaintext"]; I'd like to do the same thing using FormFunction, but am unsure how. I've tried the ...
aasantos's user avatar
1 vote
1 answer
261 views

Linking multipage forms together

I am trying to develop a web form wherein the first page asks users how many cities they would like to compare, and the second page dynamically creates that many input boxes. Once the user inputs the ...
Reedinationer's user avatar
2 votes
0 answers
52 views

The default FormLayoutFunction

FormLayoutFunction allows you to specify a custom layout for form's items. But what if you want to only slight fix the default layout? It is not so clear what is ...
Kuba's user avatar
  • 137k
0 votes
1 answer
122 views

How to align FormFunction title to centre of page?

I am trying to align the title of my form with the centre of the form. It does not appear to work with this: ...
MaxJ's user avatar
  • 1,535
3 votes
1 answer
126 views

Display Dataset[Databin[]] as result for cloud deployed FormFunction

I am trying to set up a cloud deployed FormFunction where a user can enter a public databin ID and then view the contents formatted as a dataset. I keep running ...
kickert's user avatar
  • 1,840
3 votes
1 answer
225 views

How to place a FormFunction in DialogInput?

FormFunctions work well in a notebook cell. ...
Edmund's user avatar
  • 42.4k
1 vote
0 answers
78 views

Multipage FormFunction "Required" FormObject broken with "FileName" interpreter

Multipage FormFunction does not validate FormObjects with "FileName" interpreter if the field is left blank. Minimal example <...
Edmund's user avatar
  • 42.4k
0 votes
1 answer
122 views

Cloud - controlling FormFunction[ ] width and number of inputs in a row

Is it possible to control the width of FormFunction? Related, is it possible to have more than 4 inputs in a row in FormFunction? Two code examples. Example 1 produced a row of 4 inputs. ...
Mitch's user avatar
  • 146
2 votes
1 answer
135 views

What is the correct way to include a user defined function inside a FormFunction wrapper?

I'm planning to wrap my FormFunction expression in Cloulddeploy but am having trouble giving input to the required data to ...
BBirdsell's user avatar
  • 1,196
1 vote
0 answers
185 views

Capture camera image from Wolfram Cloud mobile app

I want to deploy a Web API in the Wolfram Cloud that captures a camera image when called from the Wolfram Cloud mobile app. I started with the following minimal code example: ...
Robinaut's user avatar
  • 1,245
0 votes
0 answers
85 views

Why doesn't FormFunction work?

I'm trying to understand and use FormFunction. I go to the local documentation on my system and this is what it shows: I execute the commands for the definition of form and execute form[]. This is ...
user avatar
5 votes
1 answer
160 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/...
vonkohorn's user avatar
  • 471
5 votes
1 answer
257 views

FormFunction default display

I am trying to use FormFunction[] to input data in my notebook. As it shows up when using FormFunction in a notebook (no web ...
Robert Nowak's user avatar
3 votes
1 answer
192 views

Import KML file data inside FormFunction (Interpreter problem?)

I have a KML file with a bunch of (lat,lon) pairs. I can retrieve the pairs by importing the KML file as "Data" and drilling down into it: ...
ConvexMartian's user avatar
1 vote
0 answers
113 views

FormFunction output not working

Following is my form function: ...
Parth Raghav's user avatar
3 votes
1 answer
271 views

Cloud Form Function Database

I am trying to build a web inventory application using a SQLite database hosted in the cloud home directory. I have a database in the home directory and I can query that database while in the code ...
Ray Troy's user avatar
8 votes
1 answer
298 views

Ensuring that a file uploaded via FormFunction is of a particular type

I have a FormFunction that should work only with CSV files, something like: ...
andandandand's user avatar
  • 2,403