Results 1 to 5 of 5

Thread: Quicksearch filtering by form fields

  1. #1
    Amadeus7 is offline Member
    Join Date
    Dec 2008
    Posts
    19

    Default Quicksearch filtering by form fields

    Hi,

    Let's say in Opportunities module we have account and contact field.

    Now is possible to do quicksearch in contact field, filtering by the value entered in account field?

  2. #2
    Amadeus7 is offline Member
    Join Date
    Dec 2008
    Posts
    19

    Default Re: Quicksearch filtering by form fields

    Anybody, has a solution?

  3. #3
    genius786's Avatar
    genius786 is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Karachi, Pakistan
    Posts
    131

    Smile Re: Quicksearch filtering by form fields

    Yes it is possible ,

    you have to add the contact field in search area through studio .......



    Best regards,
    SARFARAZ AHMED KHAN
    Karachi, Pakistan
    skype: genius_crystal
    genius_crystal@hotmail.com
    92-314-2595624

  4. #4
    Amadeus7 is offline Member
    Join Date
    Dec 2008
    Posts
    19

    Default Re: Quicksearch filtering by form fields

    No, we want the following. After user selects Slender Broadband for Account field,
    then when entering the first letter in contacts fields, quick search should return and display only those contact names that are assigned to Account Slender Broadband. Is there a solution?


  5. #5
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: Quicksearch filtering by form fields

    Hi this is possible just add same code in editviewdefs.php for opportunities


    array (
    'name' => 'Contact_field_name',
    'displayParams' =>
    array (
    'initialFilter' =>
    array (
    'Account_field_name_inthis_module' => 'Account_field_name_in_Contact__module',
    ),
    ),

    'label' => 'LBL_CONTACT_PERSON',
    ),
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hiding fields in the mass update form
    By clement in forum Developer Help
    Replies: 3
    Last Post: 2008-11-13, 09:58 AM
  2. How do I add Fields to the Quick Form?
    By JackieBM in forum Help
    Replies: 2
    Last Post: 2007-03-16, 10:42 PM
  3. Use fields from one module in the Search form for another
    By CunningPike in forum Developer Help
    Replies: 8
    Last Post: 2006-11-30, 05:55 AM
  4. Adding fields to the Case form...
    By nutinmuch in forum Help
    Replies: 1
    Last Post: 2006-07-31, 06:47 PM
  5. restoring original form/fields
    By davidmcb in forum Help
    Replies: 1
    Last Post: 2005-12-16, 10:37 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
  •