1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Rep Power

    Is this possible?

    I have a page that has many forms.
    At the top of the page I have a form with two fields: Name and Address. If the user pushes the button it adds/updates the db.

    I then have a table at the bottom of that page that each row shows all the records in the db but each row is a seperate form

    Is it possible to have an on click event for each button populate the top form based on the values in one of the forms at the bottom?

  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Outside US
    Rep Power
    Sorry but (taken from New users - HOW TO POST A QUESTION ):

    Post a descriptive topic name! Give a short summary of your problem in the subject. Don't use attention getting subjects, they're not fair to other users! Things like "PLEASE HELP!" or "URGENT" make your post unfairly look like a priority over other users post who need help just as much as you. Posting non-descriptive leading in topic names just to get more reads will not be tolerated.

    Here's a great list of topic subjects YOU SHOULD NOT POST by freebsd:

    1) Help me
    2) Hello
    3) You must know the answer
    4) Please help this female newbie
    5) Something wrong
    6) Come on PHP gurus
    7) This one for you
    8) Just wondering
    9) This is too complicated for me
    10) possible?
    11) Very urgent
    12) I have a question
    13) Stupid question
    14) Newbie needs help
    15) pulling my hair out
    16) this is driving me nuts
    17) WHAT THE?!?!

    Generally anything similar to those is unacceptable. Just post your problem.

    Here is a good example of a way to post a question about ereg() and regular expressions / validating emails

    "Need ereg regular expression help"

    or even better:

    "validating emails w/ ereg() regular expressions"

    These are bad examples:

    "I can't figure this out!"
    "Stupid question..."
    "Female newbie needs regex help"
    "Help me! Urgent!"
    and I think that this post really belongs to another forum, the HTML, JavaScript & CSS
    Look here for discussion about HTML coding, JavaScript, CSS, and other DHTML-related topics

IMN logo majestic logo threadwatch logo seochat tools logo