Results 1 to 5 of 5

Thread: Prevent Duplication in Custom Field

  1. #1
    b10
    b10 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Question Prevent Duplication in Custom Field

    Hi, I've successfully installed SugarCE 5.0.0c on my CentOS 5.1 server running PHP 5.2.5, MySQL 5.0.51a and Apache 2.2.8. I've created a custom field for my accounts module. How do I make it so that the data entered in my custom field isn't duplicated? Is there such a feature to prevent this?

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Prevent Duplication in Custom Field

    The question is, di you need a duplicate-check or do you need auto-gernerated fields?
    In both cases you could use the logic hook facility (see WIKI and FORUM for implemntation details).
    A logic hook before_safe could check the entered values against the database and clear them out or it could generate unique field values.

    To check this dircetly in the open edtiview panel you could use an AJAX solution which is a little more complicated.

  3. #3
    b10
    b10 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Default Re: Prevent Duplication in Custom Field

    Thank you for your reply kuske. I need a duplicate check on my custom field. I've read the wiki on logic hooks but... I'm still clueless on how to implement it as I'm no porgramming whiz.
    Last edited by b10; 2008-04-17 at 07:32 AM.

  4. #4
    b10
    b10 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Default Re: Prevent Duplication in Custom Field

    Hmm.... Anyone?

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Prevent Duplication in Custom Field

    ... yet thinking ... .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 2007-12-10, 04:49 PM
  2. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  3. Custom Field add not visible is Edit Layout
    By tylerpoint in forum Help
    Replies: 0
    Last Post: 2007-07-09, 05:56 AM
  4. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  5. Replies: 7
    Last Post: 2006-06-06, 07:56 PM

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
  •