Re: Q: FORMS 4.5 when validate item

From: Michel Lapierre <milapier_at_ge.hydro.qc.ca>
Date: 1996/05/14
Message-ID: <DrEE4v.26C_at_ireq.hydro.qc.ca>#1/1


chamiltn_at_islandnet.com (Craig Hamilton) wrote-écrivait:

>Hi
 

> Does anybody know how or if you can exit a screen when a value in an
>item doesn't pass the when-validate-trigger.

>I have a when-validate-trigger on an item and if it is invalid I raise
>form_trigger _failure. If the user enters an invalid value in this
>field my error message appears and focus is returned to the text item.
>If the user then presses the Cancel button to exit the form the
>validate trigger fires again before any code in the when button is
>exceuted. How do I get it so that if the user wants to exit they can?

The cancel button must have the navigable option to false. On you when-button-press, do a clear-block and go on where you have to go. Received on Tue May 14 1996 - 00:00:00 CEST

Original text of this message