We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27424
    • 18 Posts
    Hi,
    is that possible to make Flexisearch search only between the users, and for a particular field only.

    Ie, use it to search if a user with an email address exists and it is registered?

    (I hope it makes sense)
      who dares win
    • Quote from: sixlaneve at Jun 01, 2006, 09:04 PM

      Hi,
      is that possible to make Flexisearch search only between the users, and for a particular field only.

      Ie, use it to search if a user with an email address exists and it is registered?

      (I hope it makes sense)

      You would have to modify the snippet and SQL queries of the snippet to be able to do that. The WebSignup snippet has code that does this in a standard way for MODx when users signup. Checkout the /assets/snippets/weblogin/websignup.inc.php file in your installation and look for the comment ’check for duplicate email address’ for an example of the query needed to check for an existing user with a specific email address.