Results 1 to 2 of 2

Thread: I'm trying to figure out how to relate data in one form to another.

  1. #1
    marketingmike is offline Junior Member
    Join Date
    Nov 2011
    Posts
    2

    Default I'm trying to figure out how to relate data in one form to another.

    so here is what I am looking to do. I have customers on maintenance who i support. I am trying to make it easier to see if they are current on maintenance. so far i have a maintenance expiration box. but would like to make that display yes or no in another form/field based on if that date is past todays date. is it possible to do something like that?

    thanks for any and all help
    Mike

  2. #2
    snikwahj is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    38

    Default Re: I'm trying to figure out how to relate data in one form to another.

    Mike,

    You should be able to achieve this with the "process_record" logic hook of the bean you want to display the Yes / No field in. The "process_record" hook is where you can inspect (and alter) field values retrieved in the bean before they are displayed or used.

    For more complex display processing you can override the detail view of the bean by creating a custom view.detail.php file and overriding the display() function in there.

    Both these techniques are described in detail in the appropriate developer guide for the version of SugarCRM you are using.

    Thanks,

    JH.
    Last edited by snikwahj; 2011-11-10 at 02:41 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Relate Data Type Bug?
    By jepoytan in forum Help
    Replies: 1
    Last Post: 2011-01-05, 05:53 AM
  2. Can't figure out simple user-reporting contact form
    By alia in forum Developer Help
    Replies: 2
    Last Post: 2009-07-15, 07:05 PM
  3. Prepopulating a form with data from previous form
    By mbuttrey01 in forum Developer Help
    Replies: 6
    Last Post: 2009-02-25, 09:53 PM
  4. I just can't figure it out
    By jswainst in forum Help
    Replies: 10
    Last Post: 2007-03-21, 06:52 PM
  5. simple link error that i just cant figure out!
    By simbawoomba in forum Help
    Replies: 0
    Last Post: 2007-02-01, 09:19 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
  •