# How to assign javascript variable value to slots

**URL:** <https://forum.rasa.com/t/how-to-assign-javascript-variable-value-to-slots/15344>\
**Category:** Rasa Open Source\
**Created:** [September 6, 2019, 2:44pm UTC](https://forum.rasa.com/t/how-to-assign-javascript-variable-value-to-slots/15344 "2019-09-06T14:44:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SudheshSolomon](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@SudheshSolomon](https://forum.rasa.com/u/SudheshSolomon)\
**Post date:** [September 6, 2019, 2:44pm UTC](https://forum.rasa.com/t/how-to-assign-javascript-variable-value-to-slots/15344/1 "2019-09-06T14:44:39Z")

</div>

Hi,

I have a form which sends user details such as name, email, and phone number before starting the conversation. This is done with the help of html, css, js, and jquery. Is there a way by which I can store the value which the user types in the email field of the form to a rasa slot named ‘email’ rather than asking the user to type the email once again?

Any help will be highly appreciated.
