rbaldwin
|
| Posted: 05/23/2002, 1:19 PM |
|
I want to 2 fields in my form both comming from the same database field.
the first can be a text field (fldA)
the second a hidden field (fldB)
I want to do this so that in javascript i can do an onChange(fldA) and be able to compare the original value from the database with the attempted new value.
And based on some javascript logic either allow the new value for fldA or reset the the value of fldA to the value of fldB.
Suggestions?
|
|
|
 |
rbaldwin
|
| Posted: 05/23/2002, 1:41 PM |
|
Guess i just needed to voice (read key) my problem. 2 minutes after my initial post i figured it out.
a) add a new field not form the db and make it hidden.
b) add a "Before Show" event where fldfldB = fldfldA
Oh, and excuse me for talking to myself. ;-}
|
|
|
 |
|