Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Harshit 64 posts 226 karma points
    May 02, 2016 @ 07:12
    Harshit
    0

    custom member types using config file

    Hi ,

    I am creating member type using config file as below:

      <membertype alias="custommember" name="Custom Member">
        <tab alias="general" name="General Details">
    
          <property alias="contactphone" name="Contact Phone Number" type="Umbraco.Textbox" datatype="nvarchar" description="Either Mobile or Landline. If a mobile is enters SMS notifications are provided"/>
    
          <property alias="emailaddress" name="Email Address" type="Umbraco.Textbox" datatype="nvarchar" description="The primary contact email address of the member" />
    
        </tab>
    

    i am trying to add validation property in phone and email address, any idea which property i need to call? like for phone only number are allowed and for email : [email protected] only this format allowed.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft