Loading...

RE: Pass variable from one form to the next.

RE: Pass variable from one form to the next.

Home Forums QuickApps Forum Pass variable from one form to the next. RE: Pass variable from one form to the next.

#7103
Anonymous
Anonymous
Participant

Not sure why Xien's answer came through email but didn't post. But here's the solution.

Hi Anthony

I would assume we use qListForm as "NewListItem" type for creating a new List Item thus having a new List Item ID and we want to pass this to anther form with the ID prepopulated. Please follow the steps below to make it work:

1. On the first form, configure ViewedList and DisplayFields property, set Form Type as "NewListItem"

2. On the Display tab, specify Next Page Url property to point to the second form page which will receive the new ID and make sure you pass the new ID as parameter using field expression, such as mypage.aspx?MyID=<%ID%> (see screenshot below)

3. On the second form, configure ViewedList and DisplayFields property, make sure the field that receives the new ID is configured of type Consume Value from a Http Request and specify the Parameter Name, for exampe, "MyID".

http://communities.quest.com/servlet/JiveServlet/downloadImage/2-2959-2051/450-350/save.png

http://communities.quest.com/servlet/JiveServlet/downloadImage/2-2959-2052/450-355/save2.png

So hope this helps.