# Problem with next form

**URL:** <https://community.ofelia.com/t/problem-with-next-form/5057>\
**Category:** Q&A\
**Created:** [16 August 2014 21:32 UTC](https://community.ofelia.com/t/problem-with-next-form/5057 "2014-08-16T21:32:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![s6678](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@s6678](https://community.ofelia.com/u/s6678)\
**Post date:** [16 August 2014 21:32 UTC](https://community.ofelia.com/t/problem-with-next-form/5057/1 "2014-08-16T21:32:03Z")

</div>

Hi, I’m beginner in BonitaSoft so it will be simple for You.

I need a resolve this problem:

In the first form user give some data in his form ( select data, text area, radio button etc.)

Now I want make another form in the next step with data from previous step to read only and add another widgets.

But if I do It there are no data from user but only empty widgets.

Could You help me fix this problem?

Adrian

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [18 August 2014 12:06 UTC](https://community.ofelia.com/t/problem-with-next-form/5057/2 "2014-08-18T12:06:29Z")

</div>

Hi,  
In your Pool you need to create a variable for each of your field.  
Then in your first form, for each field you need to set the return value (in Data tab) using the variable that you create previously.  
Finally, in your second form, you can use the variable that contains the value now.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [18 August 2014 13:52 UTC](https://community.ofelia.com/t/problem-with-next-form/5057/3 "2014-08-18T13:52:01Z")

</div>

Hi,

the solution mentioned by Yannick is working.  
Please ensure that:

- you set correctly the output operation in first form form
- you are using Process data and not Step or Form transient data
- you correctly set the initial value from Data tab on each widget for the second form.

Regards,

---

<div class="post-metadata">

**Author:** ![s6678](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@s6678](https://community.ofelia.com/u/s6678)\
**Post date:** [22 August 2014 08:14 UTC](https://community.ofelia.com/t/problem-with-next-form/5057/4 "2014-08-22T08:14:16Z")

</div>

Thanks Guys for Your help. I made a new diagram and new form and it worked.

thanks a lot

Best regardes  
Adrian

---

<div class="post-metadata">

**Author:** ![efrados](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@efrados](https://community.ofelia.com/u/efrados)\
**Post date:** [18 August 2014 11:31 UTC](https://community.ofelia.com/t/problem-with-next-form/5057/5 "2014-08-18T11:31:07Z")

</div>

I don’t know if you can do that. But why do it anyway?  
if you want to look the info YOU JUST TYPED you have the “go back” button.  
I think the variables are not set until you confirm the form at the end, so what you want to do would be impossible unless you model something on the same form and hide things (and lock if you want) with javascript.

---

<div class="post-metadata">

**Author:** ![efrados](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@efrados](https://community.ofelia.com/u/efrados)\
**Post date:** [18 August 2014 12:10 UTC](https://community.ofelia.com/t/problem-with-next-form/5057/6 "2014-08-18T12:10:51Z")

</div>

I thought that he already tried that and the variables weren’t set between forms in the same task. As i never used that i didn’t tried it out. thanks for correcting me
