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
0answers
47 views

Preventing form submission if checkbox not checked

I am using Mathematica forms for a questionnaire and want to prevent submission of the form if a check box asking for consent has not been selected. More generally, how could I perform additional ...
0
votes
0answers
13 views

Evaluation of FormPage and FormFunction aborts

I have created a script that gathers real estate information from a website and makes a GeoRegionvaluePlot of the prices. This works well when running it as a function in my local notebook: ...
5
votes
1answer
63 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 ...
2
votes
1answer
95 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 ...
1
vote
1answer
111 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 ...
2
votes
0answers
38 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 ...
0
votes
1answer
86 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: ...
2
votes
1answer
79 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 ...
2
votes
1answer
160 views

How to place a FormFunction in DialogInput?

FormFunctions work well in a notebook cell. ...
1
vote
0answers
62 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 <...
0
votes
1answer
78 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. ...
1
vote
1answer
104 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 ...
1
vote
0answers
138 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: ...
0
votes
0answers
58 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 ...
5
votes
1answer
126 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/...
4
votes
1answer
170 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 ...
3
votes
1answer
124 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: ...
1
vote
0answers
97 views

FormFunction output not working

Following is my form function: ...
3
votes
1answer
208 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 ...
7
votes
1answer
187 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: ...