Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Identifying modified field?

Reply
Thread Tools

Identifying modified field?

 
 
A P
Guest
Posts: n/a
 
      01-27-2005
Hi!

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

Me


 
Reply With Quote
 
 
 
 
Rob Meade
Guest
Posts: n/a
 
      01-27-2005
"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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Identifying the new Session ID thomson ASP .Net 3 10-06-2005 02:31 PM
Identifying the element ID in a client script from a WebControl kw ASP .Net 9 08-24-2004 01:26 AM
Identifying Web Development Competence Jeff S ASP .Net 18 07-12-2004 12:45 PM
Identifying calls from anchors =?Utf-8?B?UGF1bCBL?= ASP .Net 2 06-18-2004 03:39 AM
Identifying the data difference before and After PostBack Dinesh Upare ASP .Net 0 11-07-2003 10:37 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57