How to prevent user to enter data in multiple fields within a record [message #308183] |
Fri, 21 March 2008 14:52  |
michaelv
Messages: 20 Registered: November 2006 Location: rockville, MD
|
Junior Member |
|
|
Hi,
Assume that i have a form with 3 field. However, only one field is allowed to have input. Let pick an example:
Form TEST has 3 fieds: A | B | C
if A has data, and user attempts to enter data at field B or C, the error should be raise and force user to delete A first before entering data for B or C.
thanks.
|
|
|
|
|
Re: How to prevent user to enter data in multiple fields within a record [message #308504 is a reply to message #308201] |
Mon, 24 March 2008 10:08   |
michaelv
Messages: 20 Registered: November 2006 Location: rockville, MD
|
Junior Member |
|
|
azamkhan wrote on Fri, 21 March 2008 23:42 | You can do this by checking you condition on WHEN-VALIDATE-ITEM.
Regards,
Azam Khan
|
I have used that trigger. The problem is that when i raise form_trigger_failure, i can't move on even though i delete data from the field. I just want to popup the message to let user know that only one field allowed.
Looks like that when-validate-item only works independently. My situation is like to check one field but depend on the other two fields.
|
|
|
|
|