# Reproduce form in template

**URL:** https://discourse.nodered.org/t/reproduce-form-in-template/13140
**Category:** Dashboard
**Created:** [11 July 2019 01:34 UTC](https://discourse.nodered.org/t/reproduce-form-in-template/13140 "2019-07-11T01:34:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tiagovalenca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tiagovalenca/32/10068_2.png) [@tiagovalenca](https://discourse.nodered.org/u/tiagovalenca)
#### Post date: [11 July 2019 01:34 UTC](https://discourse.nodered.org/t/reproduce-form-in-template/13140/1 "2019-07-11T01:34:16Z")

</div>

I want to have a form where i can prefill some inputs based on the last answer submitted. I should also say I already set the last inputs as global variables.  
I want to use this global variables to prefill my form, I don't want to automatically use then, so that the user can still change the data before submiting if he wants to do so.  
I know in html I can set the value with value="the value I want'. But i have no ideia what is the best way to do it in dashboard template node.  
I have no experience with angularjs so any help or tip that can give me a direction is welcome.
