Results 1 to 2 of 2

Thread: making the mobile phone field unique

  1. #1
    Join Date
    Nov 2010
    Location
    Mombasa, Kenya
    Posts
    20

    Question making the mobile phone field unique

    Hi,

    For Agents and Members, I need to make the mobile phone field unique, just like the way a username field is unique. It is critical that no two users on my system share a mobile number.

    What is the best way to achieve this?

    Also, is there a way to put an input mask on this field or something like that, to ensure that the mobile number is formatted in a certain way? What is the best way to achieve this?

    Thanks,

    David

  2. #2
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: making the mobile phone field unique

    There is not an existing feature in OR that will enforce custom field contents being unique. You could use an add-on + javascript to enforce this.

    For the input mask, you could add some custom javascript to the template.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

Similar Threads

  1. Mobile Templates
    By Mick in forum General Discussion
    Replies: 14
    Last Post: 04-13-2010, 02:22 PM
  2. My first mobile site
    By epropnet in forum Show Off (CLOSED)
    Replies: 3
    Last Post: 09-16-2007, 11:39 AM
  3. Mobile Integration
    By anthony parsons in forum Addon help, ideas and discussion (CLOSED)
    Replies: 2
    Last Post: 06-21-2005, 01:08 AM
  4. Replies: 3
    Last Post: 04-02-2004, 05:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •