Results 1 to 7 of 7

Thread: Ajax auto-completition not working on custom module

  1. #1
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Ajax auto-completition not working on custom module

    Hello, I am using a custom module, but all related fields (like account and contact) the function of auto-completition is not working. Any help where I can look to make it work?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Ajax auto-completition not working on custom module

    Let us know the sugar version and installer for custom module.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Re: Ajax auto-completition not working on custom module

    Hello André, I am using Sugar CE5.2.c and the module that I am talking about is one of the OQC (OpenQuotesAndContracts).

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Ajax auto-completition not working on custom module

    Are you facing this issue only on OQC package or on every modules?

    Make sure the attribute site_url points to the same address you access through browser.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Re: Ajax auto-completition not working on custom module

    The problem just happens in oqc modules. You lost me in your last comment, where is that info?

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Ajax auto-completition not working on custom module

    The ajax feature on sugar uses the value for $sugar_config['site_url'] as system address. If the value for this attribute into config.php is other than the address you access through your browser you may face issues on auto-complete feature.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  7. #7
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Re: Ajax auto-completition not working on custom module

    Solved, thanks for help André .. again.

    Btw.. the error was that a mandatory field was hidden, and that made the module goes nuts.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto-fill relate field on custom module?
    By leowolff in forum Help
    Replies: 6
    Last Post: 2012-03-15, 02:06 PM
  2. How to ger fields from ajax auto-complete
    By andopes in forum Feature Requests
    Replies: 1
    Last Post: 2010-10-04, 07:20 AM
  3. Strange AJAX auto complete behavior
    By Mithun in forum Developer Help
    Replies: 1
    Last Post: 2009-04-22, 06:00 PM
  4. Replies: 3
    Last Post: 2008-07-17, 01:17 PM
  5. AJAX not working on Sugar v4.0.1!
    By gosugar in forum Help
    Replies: 11
    Last Post: 2006-07-31, 06:02 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
  •