Announcement Announcement Module
Collapse
No announcement yet.
unique field Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • unique field

    Hi,
    I have created field username with the command:
    field string --fieldName username --column username --notNull --unique

    but I am able to register with the same username, why is that?

  • #2
    can you try the following

    Code:
    field string --fieldName username --unique true --notNull
    Also check http://hatimonline.com/2010/08/04/sp...ty-tutorial-0/ for validator for unique.

    (me beating my self to actually work on this tutorial series one of these days)

    Comment

    Working...
    X