locked
Required field not functioning correctly RRS feed

  • Question

  • I have a required field on a custom form that uses a query to validate the text entered (to unique ids in our production system).  If the number is correctly entered, several other fields which include company name are populated.  We are running into an issue where users are able to save the form but the company name field is not populating.  Therefore, we infer that the lookup is not functioning correctly.  Does anyone have any idea why the lookup would not work on rare occasions and the form would not catch this and save anyway?
    Thanks, Mike
    Monday, November 23, 2009 4:24 PM

Answers

  • Not sure what's causing this but I suggest adding the same validation to the OnSave event handler and returning false if the field values are missing.


    You can also verify if this is indeed your case by creating a trace WF that is triggered when the record is updated and the field values are missing.


    GI CRM Blog * GI Website
    Monday, November 23, 2009 5:14 PM