CARVIEW |
Select Language
HTTP/2 200
date: Wed, 15 Oct 2025 03:22:03 GMT
server: Generic Web Server
content-location: ProvideInitialDataToAForm.html.en
vary: negotiate,accept-language
tcn: choice
set-cookie: WR_SID=59566491.6412a01266ff3; path=/; max-age=315360000; domain=.wolfram.com
accept-ranges: bytes
content-type: text/html
content-language: en
content-security-policy: upgrade-insecure-requests
Provide Initial Data to a Form—Wolfram Documentation
WORKFLOW
Provide Initial Data to a Form
Deploy a basic web form
Deploy a web form that calculates the distance between two locations:

Add initial data to the form
Initialize the From field with the name of the nearest city; replace the From field’s "Location" type with an Association that specifies both the type ("Interpreter" key) and the initial value ("Input" key). Use RuleDelayed () with "Input" so that the value is calculated when the form is used rather than when the form is deployed:
