Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

posting a form in a new window

 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I am trying to create a form with two buttons
The buttons I am naming as - "Create" and "Preview"

When I click on - "Create" - I would like the form to be submitted in the same window ( as we normally do )

However - when I click on - "preview" - I want to submit the form - in a new window( I want to use POST -
I do not want to use query string to pass data )

Can someone please point me to some code examples as to how I can achieve this ?

Is this possible ?

Thanks in advance ,
-anagha
[ May 19, 2005: Message edited by: pendse anagha ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Eric ,
The site that you have been so kind to point to me is a paid preview site
I am kinda poor to afford the money that it needs
So I am shamelessly looking for some free help !!

Thanks ,
-anagha
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to scroll down the page, ignore the sign up stuff...
 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Eric ,
Thanks !
I guess I was hasty in my reply - and once again thanks for your patience .

I am not good in Javascript and hence dont seem to like it !

Ok - here is what I got from the message trail and it worked for me
Thanks !

Here is what I have in my code :


I hope this is helpful to other ranchers too.
Thanks ,
-anagha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic