on 07-04-2009 2:32 PM
Hi All ,
My Requirement is to compare the two Drop Down fields value (one is old and other one is new )and mark the new field in red border , when it is changed .
now the scenario is .. it is not giving the red box even though it gets changed because after change both values are equal (both new and old dropdown values ) .
tried by storing the initial value in the form , but as it is online form , when another DropDown is selected , roundtrip happens and the initail value gets changed
Ex :
lets take dropdown values will be staff, assistant , and manager .
old value is assistant .
1) initail value of New field value is "satff" .
2) when we change it to "assistant" . now both fields value is same , (present scenario not giving the red box , as this method will compare the old and new field values ).
3) now wht i did , have added a variable to mark as "y" when it gets changed .
it will not work , when roundtrip happens . it is not working ...as it will new value will gets initaited ( if we change again after roundtrip happens )
help me in this ...
Hi,
In the change event for the drop-down list, try using the prevText propert.
PreviousValue.rawValue = xfa.event.prevText;
Regards,
Runal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.