Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Business Rules part 2
I have set up a business rules class, testing for uniqueness, following the example of the MM Users and UserRules classes. It works great in finding if the value entered into my "txtAgencyName" textbox is unique.
A problem occurs when editing a record, and the OK button on the page is pressed. The whole checkrules thing fires if a change is made anywhere on the form, even if the txtAgencyName is not entered or changed. It obviously is not able to determine if the value in the txtAgencyName is the same as the original value. What am I missing? Thanks in advance for any comments.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement