Results 1 to 2 of 2

Thread: Auto-fill field with filtering

  1. #1
    prajeesh is offline Senior Member
    Join Date
    Jun 2009
    Posts
    64

    Default Auto-fill field with filtering

    Hi

    I would like to know how to implement an auto-fill (Relate field) which will auto fill only certain records. For example , i have an autocomplete field which links to the module ' opportunities' . But i want to auto-fill only the opportunities whoes sales_stage is 'Closed Won'.

    Thanks for your help.

    Prajeesh

  2. #2
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Auto-fill field with filtering

    HI
    1. create "view.edit.php" .
    2. inside this file you can customize or(over write ) the select button functionality.
    3. and write the pop custom code and send with your opportunity Stage.

    sample:
    open_popup("Opportunities", 600, 400, "&Stage=Closed Won ", true, false, {"call_back_function":"set_return","form_name": "fo rm_EditView_Notes","field_to_name_array":{"id":"pa rent_id","name":"parent_name"}}, "single", true);

    this is the "id":"pa rent_id","name":"parent_name" auto fill area.

    if you want to ad more filed mean add "database filed name","filed are name"

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. Replies: 2
    Last Post: 2008-02-11, 05:15 AM
  3. How fill the new field with a new fields ?
    By krakoss2 in forum Developer Help
    Replies: 5
    Last Post: 2008-01-14, 04:09 PM
  4. Fill in a custom field
    By YamilBracho in forum Help
    Replies: 6
    Last Post: 2007-10-09, 02:18 AM
  5. Outbound email auto fill function a bit funky
    By psdavec in forum General Discussion
    Replies: 0
    Last Post: 2006-04-07, 11:44 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
  •