Hi All,
I am having problem with making the following code work. It is only when a value equivalent to 25 in the drop down is selected that the entry is converted to uppercase. I have the following code on the Change event.
On Change Event:
if (RankdrpdwnList1.rawValue==25){
xfa.event.change
= xfa.event.change.toUpperCase();}
Please, I need help with this code.
Thanks
v/r
Tammy
Views
Replies
Total Likes
Maybe try
if (RanddrpdwnList1.rawValue == 25) {
this.rawValue = fieldName.rawValue.toUpperCase();
}
I don't know the field name for the data you are trying to convert, so you'll have to fill that in yourself.
Views
Replies
Total Likes
Also, if you have this code on a drop down box, you will want to change it to be on the EXIT event instead of the change event. For drop down boxes it only works on the exit event; the value isn't "changed" until you exit the field.
Views
Replies
Total Likes