Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can i view results in a form on next page?

Status
Not open for further replies.

F430

Programmer
Dec 6, 2005
8
GB
Hi,

I know this sounds stupid, and when i find out the answer il kick my self.

I have a preview link which when clicked opens a page which i want to display the text in the two textboxes on the previous page.

I CANT USED A SUBMIT BUTTON as it is being used to add the entry.

Im having one of those developer blocks.

Thanks
 
You could use Javascript to open a new window to display the preview. When creating the URL for the popup window you can pass the values on the querystring then retrieve normally inside the window or you can use this.window.creator to reference the fields with the values you want on the parent window.



Paranoid? ME?? WHO WANTS TO KNOW????
 
you can submit the parent form to the child (preview) as you would normally. Then on whatever event the user has to take from the child page is triggered resubmit the data to the collection.

If you don't want to format the preview in actually text boxes but something like a list in pure text, just use hidden fields in the child page to retain the values to pass back to either the parent or another processing page.

If you are returning to the parent page simply wrap the page in conditioning in your server script to check on which stage the user is. you can pass a counter (hidden field) around to check the process flow

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top