Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create forms with persistent values for cloud deployment
ResourceFunction["PersistentCloudForm"][form,store] modifies form so that it has persistent user-specific values, storing values in CloudExpression[store]. |
Deploy a simple GDPR (General Data Protection Regulation) permissions form:
| In[1]:= | ![]() |
| Out[1]= |
When a user returns to the form, its state will reflect the last values that they submitted. These values can then be changed:

A CloudExpression is created to store the data:
| In[2]:= |
| Out[2]= |
You can look up whether user "mcloone@wolfram.com" is currently giving their permission to be sent email:
| In[3]:= |
| Out[3]= |
Both FormPage and FormFunction are supported. Create a simple persistent GDPR permissions form that redirects the user on completion:
| In[4]:= | ![]() |
| Out[4]= |
The data is stored in a CloudExpression. Changes to the values in the CloudExpression will be seen by the user when they visit form. For example, you can pre-populate the form for a user who has not used it yet:
| In[5]:= |
This work is licensed under a Creative Commons Attribution 4.0 International License