Results 1 to 3 of 3

Thread: flagging date

  1. #1
    Bobhardyoyo is offline Sugar Community Member
    Join Date
    Mar 2009
    Location
    UK
    Posts
    59

    Default flagging date

    Hi

    I need to find a way to highlight a date field once a specific date has passed, the field is called "date to be called" and is a standard date field added to a custom contacts module, I would like to find a way to display a warning if the date specified in the field has passed.

    Hope that makes sense.
    Ed

    SugarCE Version 5.2.0c (Build 5505)
    PHP 5.2.9.9
    MySQL 5.1.32
    IIS 6 Windows 2003 R2 SP2

  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: flagging date

    You can create an extended vardefs and specify the attribute validation.
    Take a look on modules/ProjectTask/vardefs.php

    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.

  3. #3
    Bobhardyoyo is offline Sugar Community Member
    Join Date
    Mar 2009
    Location
    UK
    Posts
    59

    Default Re: flagging date

    Hi Andopes

    I'm afraid I understood very little of that?

    I was ok then you said "create an extended vardefs and specify the attribute validation" which lost me a little.

    Can you explain how I would do it?

    Sorry I'm new to this.
    Ed

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 2008-04-21, 02:34 PM
  2. Replies: 2
    Last Post: 2008-01-31, 02:24 AM
  3. Replies: 1
    Last Post: 2007-12-14, 08:07 AM
  4. Replies: 1
    Last Post: 2006-07-28, 02:18 PM
  5. Replies: 0
    Last Post: 2006-07-07, 02:13 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
  •