Results 1 to 2 of 2

Thread: Set default values from detail view to edit view

  1. #1
    pravin.agham is offline Senior Member
    Join Date
    Sep 2010
    Posts
    64

    Default Set default values from detail view to edit view

    Hi Friends

    I have Quote Stages selection box(Pending/Accept/Reject/Call to Manager) on Proposal module.
    In detail view of my module I have 3 buttons name Pending,Accept,Call to Manager.
    Now I want functionality when someone click on "Accept" button then the page is open in edit View with Stage option as "Accept" as selected.

    How i accomplish this in Sugarcrm .
    Any idea.

    Regards,
    Pravin.

  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: Set default values from detail view to edit view

    You can take a look into modules/Calls/metadata/detailviewdefs.php and look for

    this.form.status.value=\'Held\';

    It is inside button whose id is "4".

    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. Copy Edit View to Detail View
    By tmori in forum Feature Requests
    Replies: 3
    Last Post: 2012-01-30, 06:30 PM
  2. How do I put edit view data in detail view link
    By spyro187 in forum Developer Help
    Replies: 1
    Last Post: 2011-10-19, 04:57 PM
  3. How to view Custum Fields in detail vew and edit view
    By AnujAngural in forum Developer Help
    Replies: 4
    Last Post: 2010-09-09, 05:56 AM
  4. Replies: 1
    Last Post: 2009-09-21, 09:47 PM
  5. Replies: 13
    Last Post: 2007-10-04, 05:53 AM

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
  •