# Persistent variable

**URL:** <https://forum.getodk.org/t/persistent-variable/16299>\
**Category:** Support\
**Created:** [November 14, 2018, 8:29pm UTC](https://forum.getodk.org/t/persistent-variable/16299 "2018-11-14T20:29:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emanuel\_Gomez](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/emanuel_gomez/32/7825_2.png) [@Emanuel\_Gomez](https://forum.getodk.org/u/Emanuel_Gomez)\
**Post date:** [November 14, 2018, 8:29pm UTC](https://forum.getodk.org/t/persistent-variable/16299/1 "2018-11-14T20:29:11Z")

</div>

**What is the problem? Please be detailed.**  
how can i use a persistent variable in a group of repeat questions? fro example, i work in farms with different codes, i want to type the first code and that code will appear automatically in the next group of questions. i aprreciate any help.  
**What ODK tool and version are you using? And on what device and operating system version?**  
v1.7.0 en dispositivos android  
**What steps can we take to reproduce the problem?**

**What you have you tried to fix the problem?**

**Anything else we should know or have? If you have a test form or screenshots or logs, attach here.**

---

<div class="post-metadata">

**Author:** ![dicksonsamwel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/dicksonsamwel/32/2898_2.png) [@dicksonsamwel](https://forum.getodk.org/u/dicksonsamwel)\
**Post date:** [November 16, 2018, 6:52pm UTC](https://forum.getodk.org/t/persistent-variable/16299/2 "2018-11-16T18:52:22Z")

</div>

A post was merged into an existing topic: [Remember previously entered value in odk collect](https://forum.getodk.org/t/remember-previously-entered-value-in-odk-collect/16321)

---

<div class="post-metadata">

**Author:** ![dicksonsamwel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/dicksonsamwel/32/2898_2.png) [@dicksonsamwel](https://forum.getodk.org/u/dicksonsamwel)\
**Post date:** [November 16, 2018, 6:52pm UTC](https://forum.getodk.org/t/persistent-variable/16299/3 "2018-11-16T18:52:22Z")

</div>


