Re: HELP ! how to "navigate" in FORM 4.5 trigger ????

From: Mike Philippens <mikephil_at_metropolis.nl>
Date: 1995/09/08
Message-ID: <DELKJC.Htp_at_news.metropolis.nl>#1/1


sptong_at_singnet.com.sg (Tong Siew Pui) wrote:

>If I need to validate a field after the user enter some value in the
>field, what trigger should I use if I want the cursor to go back to
>the validating field if the user input the wrong value. I tried using
>post-block, but the go-item trigger is not allowed.

You don't have to navigate. Just make a when-validate-item trigger and raise a FORM_TRIGGER_FAILURE when it doesn't validate ok. This will cause the cursor to remain in the field and highlight it.

+------------------------------------------------------------+
|   Mike Philippens - Gorinchem - The Netherlands, Europe    |
|                 Vijfhart Automatisering bv                 |
|       Oracle Specialists Training and Consultancy          |
|                 Utrecht    The Netherlands                 |
+------------------------------------------------------------+
Received on Fri Sep 08 1995 - 00:00:00 CEST

Original text of this message