Forms 4.5 Question

From: Scott A. Haas <sahaas_at_lazerlink.com>
Date: Fri, 22 May 1998 01:28:53 -0700
Message-ID: <35653745.5B99C732_at_lazerlink.com>



This is the problem that I am having.
We have a generated a menu that contains a special action for items in a form. This action is performed at the item level and is used to clear the field (i.e. a user inputs information into a field in the form, and then decides he/she wants to clearthat info).  Which leads to this problem: We have checkboxes throughout the forms to select certain items. These checkboxes can have the value Y
(---->checked) or N (----->unchecked). Now if click on the checkbox
and perform this clear item, and then move to a new item, you receive the Forms error 40222 (somewhere near this error number) that deals with invalid values. I know that the value of the checkboxes has to yes or no, but obviously the CLEAR_FIELD in the trigger for clearing the item is placing a null into that checkbox, which is invalid.   Now the question is how can this avoided? I Want to write my own trigger, sort of like a On-Clear-Item that handles this situation,, but how do I get the trigger to fire? Any answers to this question and any other advice you provide would be appreciated.

Scott Received on Fri May 22 1998 - 10:28:53 CEST

Original text of this message