Copied to clipboard

Flag this post as spam?

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


  • Jan Molbech 40 posts 126 karma points
    Apr 28, 2014 @ 09:06
    Jan Molbech
    0

    Validating input in backend fields

    I'm working on a solution where my client can create his customers as members with various information. One of the fields will contain a cardnumber. These cardnumbers are unique.

     

    My question is: Can I create a validation that checks if the cardnumber already has been used on another member? How do I do this?

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Apr 28, 2014 @ 12:11
    Jeroen Breuer
    0

    Hello,

    What version of Umbraco are you using? in uComponents there is a datatype that's called Unique Property. If you use that the value in that property can only be used once. This only works on v4 and v6.

    Jeroen

  • Jan Molbech 40 posts 126 karma points
    Apr 28, 2014 @ 13:13
    Jan Molbech
    0

    version 6.1.6. I'll look into uComponents

  • Jan Molbech 40 posts 126 karma points
    Apr 30, 2014 @ 13:10
    Jan Molbech
    0

    I can't get Unique property to work properly, unfortunately. Any other suggestions?

Please Sign in or register to post replies

Write your reply to:

Draft