Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: Insert record

  1. #1
    Member VegaLA's Avatar
    Join Date
    May 2004
    Posts
    70
    Member #
    6035
    Hello everyone,
    i'm seeking advice on a insert record problem i'm experiencing.
    I have a asp file that I have created in DWMX that has two forms on it, the first form has a field that is a heading and exists in one table and the second form has a text field that exists in another table, also on this form is a submit button. There are two 'insert record' for each form. What I would like to do is trigger the insert record for the first form when the user clicks to type in the large text box on the second form but i'm not sure how to do this. Am I going about this all wrong, can anyone put me on the right path ?

    Thanks in advance,
    Mitch....

  2.  

  3. #2
    Junior Member
    Join Date
    May 2005
    Location
    Savannah, GA
    Posts
    6
    Member #
    9971
    I'm not very good with javascript, but I'm guessing that's what you need to use. You may be able to use the onfocus element to call a function to submit the form.

    Code:
    <input type="text" name="textfield1" onfocus="yoursubmifunction"/>
    Like I said, I'm not very good with javascript, but you get the general idea.

    good luck

    digitaltheory


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:19 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com