DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: On Submit

  1. #1
    Join Date
    Mar 2006

    On Submit

    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
    San Luis Obispo
    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, 11:11 AM
  2. submit and terminate
    By Daniel in forum ASP.NET
    Replies: 2
    Last Post: 05-17-2002, 02:07 PM
  3. submit form & open page with 1 button
    By Gregg in forum Architecture and Design
    Replies: 1
    Last Post: 05-17-2001, 11:44 AM
  4. how to determine what Form to Submit
    By RAJ in forum ASP.NET
    Replies: 2
    Last Post: 06-17-2000, 03:20 AM
  5. Submit multiple forms together from a page
    By Ashu Mahajan in forum Web
    Replies: 0
    Last Post: 03-30-2000, 01: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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.