Answered
Everything I can find tells me that this should work without a hitch, yet it does not update the field when run.
This is suppose to take a number, 1234567 and change it to 123-4567. I have it in the On Blur action.
What am I missing?
if(event.value.length == 8)
{
var s = event.value;
var r = s.substring(0,3) + "-" + s.substring(3);
event.value = r;
}
Troy
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com