Email address validation

hairyjimhairyjim Member Posts: 99
edited 2006-02-02 in Navision Attain
Hi guys,

Have an email field. Can we validate email addresses in Navision using C/Side?

Jim
Give a man a fish and he will eat for a day, teach a man to fish and he will drink beer allday.

Comments

  • Tommy_SchouTommy_Schou Member Posts: 117
    hairyjim wrote:
    Hi guys,

    Have an email field. Can we validate email addresses in Navision using C/Side?

    Jim

    Short answer: Yes you can.

    Short answer: No you can't.

    :wink:

    There is no "ValidateEmailFunction" in Navision but you can create code to validate the string and put this code on the "OnValidate" trigger of the field.

    It cannot actually check if the e-mail exists.

    You could check that no invalid characters exist and that you have both an @ and a . in the e-mail and so on.
    Best regards
    Tommy
  • hairyjimhairyjim Member Posts: 99
    Cool.

    I'll try and figure the code out.

    Jim
    Give a man a fish and he will eat for a day, teach a man to fish and he will drink beer allday.
  • lagersjeflagersjef Member Posts: 57
    does anyone have any standard code for this?
Sign In or Register to comment.