On Submit


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: On Submit

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    1

    On Submit

    Hello,
    Im a newbie in all this and i want to ask somethnig..
    I make one progran for one garage to store the customers and their car..
    All the data are being store in one database..
    When the owner of the program want to update the data for one customer i want to do 2 different thinks on submit..
    First i want to be sure that the programmer filed the fileds that MUST be completed to continue and after i want to check my database if the customer exist in the database..If not to show a message that the customer does not exist..
    I know how to make the first step to check if the fields are completed but i dont know how to solve the second step.
    Also im not sure if i can do this two thinks together by click the submit button

    Can somebody help me pls?

    Thnx in advance

  2. #2
    Join Date
    Mar 2006
    Location
    San Luis Obispo
    Posts
    6
    if this is a GUI then you could add multiple ActionListeners to that Button object or you could just have one ActionListener that does both the field checking and then checks the data base...

Similar Threads

  1. Submit on image
    By Mark in forum ASP.NET
    Replies: 0
    Last Post: 07-17-2002, 12:11 PM
  2. submit and terminate
    By Daniel in forum ASP.NET
    Replies: 2
    Last Post: 05-17-2002, 03:07 PM
  3. submit form & open page with 1 button
    By Gregg in forum Architecture and Design
    Replies: 1
    Last Post: 05-17-2001, 12:44 PM
  4. how to determine what Form to Submit
    By RAJ in forum ASP.NET
    Replies: 2
    Last Post: 06-17-2000, 04:20 AM
  5. Submit multiple forms together from a page
    By Ashu Mahajan in forum Web
    Replies: 0
    Last Post: 03-30-2000, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center