Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


messagebox

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,12
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> messagebox
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 messagebox - 5/23/2001 1:10:46 AM   
  winkumpel

 

Posts: 11
Score: 0
Joined: 5/23/2001
From: Netherlands
Status: offline
So here is my question

If I submit a form I first want a messagebox with the question: do you really want to submit this? ... if I push no => the form isn't submitted, if I push yes => the form will be submitted ... can someone help me?

thx a lot!!!
 
 
Post #: 1
 
 Re: messagebox - 5/23/2001 1:12:36 AM   
  hennykoe

 

Posts: 9
Score: 0
Joined: 5/23/2001
From:
Status: offline
Use JavaScript:

In an OnSubmit function have something like:

if (confirm("Are you sure that you want to submit?") {
form.submit();
return true;
}
else {
return false;
}

(in reply to winkumpel)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> messagebox Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts