I've got two fields on a stack and I want a user to enter field 2 either by directly clicking into, or by 'tabbing', to field 2 from field 1.
Because the return/enter key causes a carriage return within field 1, I didn't want the user to think they could use the enter key to move to the next field, ie field 2
I've set up some datavalidation for field 1, with number and character limitations, as below:
Code: Select all
on keydown pKey
if the length of me = 3 or pKey is not a number then
answer warning "Check entry!" titled"Error"
else
pass keyDown
end if
end keydown
Grateful for any help or advice.
Kind regards,
Glenn