Identifying modified field?

Discussion in 'ASP General' started by A P, Jan 27, 2005.

  1. A P

    A P Guest

    Hi!

    Is there a way where I can identify if the field sent was modified?

    Me
    A P, Jan 27, 2005
    #1
    1. Advertising

  2. A P

    Rob Meade Guest

    "A P" wrote ...

    > Is there a way where I can identify if the field sent was modified?


    Hello A P,

    I'm assuming you mean a 'form' field...

    You presumably have the data stored some where that you've pre-populated the
    form with already? If so, you could compare it once submitted to the
    original dataset.

    Or, you could have a series of hidden fields on the form, a little
    javascript to register an onChange event and then write a value to the
    corresponding hidden field for the visible field.

    Or, you could have just one hidden field and have the same javascript
    concatenate the fields names that have changed into one value, ie field1,
    field3, field6 etc.

    Or, you could have a series of hidden fields with the original values in,
    and the visible fields, then compare them against each other once submitted.

    Pros and conns to all I guess...

    Why do you need to identify the change(s)?

    Regards

    Rob
    Rob Meade, Jan 27, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dinesh Upare
    Replies:
    0
    Views:
    319
    Dinesh Upare
    Nov 7, 2003
  2. =?Utf-8?B?UGF1bCBL?=

    Identifying calls from anchors

    =?Utf-8?B?UGF1bCBL?=, Jun 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    319
    =?Utf-8?B?UGF1bCBL?=
    Jun 18, 2004
  3. Jeff S
    Replies:
    18
    Views:
    594
    Kevin Spencer
    Jul 12, 2004
  4. Sound
    Replies:
    2
    Views:
    430
    Randy Webb
    Sep 28, 2006
  5. jr
    Replies:
    3
    Views:
    408
Loading...

Share This Page