# Use CloudPut with FormFunction

**URL:** <https://community.wolfram.com/t/use-cloudput-with-formfunction/16072>\
**Category:** Questions\
**Tags:** ui-ux-and-ide, wolfram-cloud\
**Created:** [May 25, 2020, 12:02pm UTC](https://community.wolfram.com/t/use-cloudput-with-formfunction/16072 "2020-05-25T12:02:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drkerr](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@drkerr](https://community.wolfram.com/u/drkerr)\
**Post date:** [May 25, 2020, 12:02pm UTC](https://community.wolfram.com/t/use-cloudput-with-formfunction/16072/1 "2020-05-25T12:02:23Z")

</div>

I am trying to ask for user import for values in a model. It would ask for a number and than use CloudPut to store that number. This value will than be later used in an equation. I was thinking I could store the numbers and associated variable name with CloudPut by asking in a FormFunction using CloudDeploy for entry on web.  
I can not figure out how to do this correctly. I have tried various methods but this is the closest I have come but it is not storing it correctly. Any ideas on how to do this? Thanks.

```
In[78]:= CloudDeploy[FormFunction["testn"->"Number",CloudPut[testn,"test"]]]

```

The result which is not giving the number, but the variable name  
In[88]:= CloudGet[“test”]  
Out[88]= testn

---

<div class="post-metadata">

**Author:** ![drkerr](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@drkerr](https://community.wolfram.com/u/drkerr)\
**Post date:** [May 25, 2020, 12:28pm UTC](https://community.wolfram.com/t/use-cloudput-with-formfunction/16072/2 "2020-05-25T12:28:54Z")

</div>

UPDATE: I figured out how to do this. The correct command is:

```
CloudDeploy[FormFunction["testn"->"Number",CloudPut[#testn,"test"]&]]

```

And gives…

```
In[84]:= CloudGet["test"]

Out[84]= 556

```
