Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2004, 03:26 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Default forcing button to go the server

If the user forgets his or her lastname and date of birth
the user should know that he did not entered the the lastname
and birthdate by using the button and then when the user types
in the first name and date of birth. He should use the same button
which he did used initailly and forces the button to go the server then. I will appreciate your help.

 
Old September 3rd, 2004, 03:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry, I don't understand the button thing. Can you explain on that?

_________________________
- Vijay G
Strive for Perfection
 
Old September 7th, 2004, 11:38 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Instead of using submit I have to use button
<Input type = button value =save>
because the button doesnot go the server, but we have to
force the button to go the server in this case. I hope you
understand my explanation

 
Old September 8th, 2004, 12:30 AM
Authorized User
 
Join Date: Aug 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sinapra Send a message via MSN to sinapra Send a message via Yahoo to sinapra
Default

let me know if you have this problem.
you want user to enter all the entities and then allow the save button to go to server and do the needful activity, I mean posting the values.
If this is the case, you have two steps :

1. you can write client side activation [javascript], where it will check if all the entries have been made. if true,

2. All the three entries are posted to server and checked with the backend if the entry is valid.
Then you know what to do,

if condition true
statement
else
statement

Let me know if I explained you that you wanted.
regards

sinapra
 
Old September 10th, 2004, 10:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

<Input type="button" value="save" onclick="Javascript:document.formname.submit();">

Make sure you give the name of the form there that you use in the <form> tag of that page.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Forcing A New Line Tre XSLT 3 June 25th, 2007 01:08 PM
forcing files to download problem harpua Classic ASP Professional 2 July 4th, 2006 09:45 AM
Forcing an ActiveX Version to download deepak.vasudevan HTML Code Clinic 0 September 2nd, 2005 02:19 AM
forcing page breaks emprise Crystal Reports 0 July 26th, 2004 03:51 AM
forcing a page_load ? Rashe ASP.NET 1.0 and 1.1 Basics 2 February 16th, 2004 10:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.