Email Address Checking in Cloudsuite

 4 Replies
 1 Subscribed to this topic
 71 Subscribed to this forum
Sort:
Author
Messages
Roger French
Veteran Member
Posts: 549
Veteran Member

    In Cloudsuite, there is out of the box functionality to check/verify if an entered email address is in correct format such as: name@meandyou.com, and no extra or missing @'s or periods and correct length.

    In the EmployeeContact BC If I enter in an invalid email address such as store@@mail..com, the error message appears "Invalid value in field..."

    I checked in config console this error message in EmployeeContact to see where and how the triggering of this error message appears but I could not find it in the EmployeeContact BC, lists or the associated forms.

    Anyone know where this message is triggered and where it is stored in Config Console?

    Thanks in advance.

    John Henley
    Posts: 3353
      Roger, I think EmailAddressField is a base type in Landmark, so you'd have to extend it I think to add additional functionality. What is it you are trying to accomplish? Are you trying to tighten email address validation to restrict to certain domains?
      Thanks for using the LawsonGuru.com forums!
      John
      Roger French
      Veteran Member
      Posts: 549
      Veteran Member

        Thanks John, if I have a custom BC with a custom email address field, I would want to check/verify the value of the email address is valid, meaning no missiing or extra @ and a '.', and it's in correct format and length, and valid domain. Other than modifying or extending a base value, seems like it could be done directly using LPL in the custom BC such as in the Field Rules or Actions sections. What do you think?

        John Henley
        Posts: 3353
          Roger, what type is the email address field in your custom business class? I think if you make it of type EmailAddress it will work as you desire.
          Thanks for using the LawsonGuru.com forums!
          John
          Roger French
          Veteran Member
          Posts: 549
          Veteran Member

            Thanks yes that worked. Type is an EmailAddress.