Results 1 to 2 of 2

Thread: Dependent Fields

  1. #1
    saransh is offline Junior Member
    Join Date
    Mar 2011
    Posts
    2

    Default Dependent Fields

    I want to have two fields on opportuntiy detail view,one named as "position_c" and the other would be "sales_stage".

    1.when i select A1 from "position_c" then "sales_stage" should get populated with different values by the help of "sales_stage_dom1" and when ever i select B1 then it should get changed as per "sales_stage_dom"

    2.sales_stage_dom ->is created inside dropdown builder and sales_stage_dom1 as well.

    now when i am trying to change this in application nothing reflected in sales_stage field...Please help me to rectify this code and tell me how to process this...

    <?php
    $update_dropdown_field_defs = array(
    'position_c' => array(
    '' => array(
    'sales_stage' => 'sales_stage_dom',
    ),
    'A1' => array(
    'sales_stage' => 'sales_stage_dom1',
    ),
    'B1' => array(
    'sales_stage' => 'sales_stage_dom',
    ),
    ),
    );

    ?>

  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: Dependent Fields

    Did you customize view.detail.php and view.edit.php accordingly?

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dependent Dropdowns
    By agey in forum Español
    Replies: 9
    Last Post: 2011-10-10, 02:15 PM
  2. dependent fields in editview
    By rakeshray in forum Developer Help
    Replies: 0
    Last Post: 2010-11-25, 05:46 AM
  3. Fields and Forms dependent on Account type
    By fotakis in forum Developer Help
    Replies: 5
    Last Post: 2010-10-24, 01:01 PM
  4. Module builder Support for dependent dropdown fields
    By amol.gangurde in forum SugarExchange Providers Forum
    Replies: 0
    Last Post: 2010-07-19, 09:33 AM
  5. Creating Dependent Multi-Select fields
    By jlabuelo in forum Developer Help
    Replies: 6
    Last Post: 2010-03-23, 06: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
  •