Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Forms 4.5 question
Sushama Belkhode wrote:
>
> Hi,
>
> My application has a field that can hold two characters. What trigger
> can I use for the focus to be set on the next field as soon as two
> characters are entered without the user having to hit 'Enter'?
>
> I am looking for an automatic tabbing to the next field as soon as the
> first one is full. I've tried post_text_item and post_change but they
> don't work.
>
> Any help will be greatly appreciated.
>
> Thanks
>
> Sushama
Actually, you don't need any triggers at all. Set your Maximum Length property to 2, then set Auto Skip to TRUE. When a user enters the second character in this field, the cursor will automatically skip to the next field.
You can also set: a) the Fixed Length property to TRUE if the user must always enter 2 and only 2 characters, b) the Required property to TRUE if the user cannot enter NULLS.
GOOD LUCK!
-- "Came for the party, left on the run" Robert Christenson Gazette Technologies robertoc#spam~be~gone#@fyiowa.infi.netReceived on Tue Sep 23 1997 - 00:00:00 CDT
![]() |
![]() |