No Validation messages display when OC fields are cleared

Discussions related to writing and managing custom business rules.

Moderator: Phil Barton

Post Reply
brianc_la
Posts: 15
Joined: Fri Oct 10, 2008 2:01 pm

No Validation messages display when OC fields are cleared

Post by brianc_la » Mon Oct 13, 2008 2:46 pm

The softpro version is 2.2

I have some field validations that prevent changes to fields on Order Contacts, specifically the SA and the UW. The validations fire when the fields are modified with the correct format but if the fields are totally cleared by the user, validations don't display. This functionality is also similar for built-in validations like zip code and phone number that enforce valid format. If cleared, the format messages don't display. I can see in the attached Visual Studio that the validations trigger and return Validation Error but there is no display of messagebox validation messages.

Are messages suppressed while fields in Order Contacts are cleared? How might I get the messages to display? Would the priority level be adjusted?

Phil Barton
Posts: 54
Joined: Wed Sep 24, 2008 2:37 pm
Location: Raleigh, NC
Contact:

Re: No Validation messages display when OC fields are cleared

Post by Phil Barton » Tue Oct 14, 2008 10:21 am

Clearing a field by using the F2 key does not trigger a validation check in that the system is returning to a known, valid default state for that particular data item.
Phil Barton
Software Architect
SoftPro

Post Reply