none
How to create Date type custom field to show only current and future date?? RRS feed

  • Question

  • Hii everyone,

    how to create DATE type Enterprise Custom field in project sever 2010 so that,it will show only the current date and the future date,and does not show the past date,or even if it shows past date,user can not select them.If anyone has any idea.plz lemme know,any help will be greatly appreciated

    thanks

    Monday, February 13, 2012 6:02 AM

All replies

  • There is no OOTB functionality that ensures a date to have these characteristics. Depending on your scenario where you want to use/fill/modify this field you may wish to look into validation using Javascript (PWA) or VBA (Project Professional). Additionally you may wish to ensure data integraty using Event Syncs. Please specify in more detail what you want to achieve where.

    Jan Cirpka

    Monday, February 13, 2012 9:23 AM
  • hi jan,

    thanks for response,i want this Custom field to be used in PDP(Project Details Page),

    Monday, February 13, 2012 9:42 AM
  • You can create a project level CF with the type as date. You can now use the date/time function that is residing under Pick Function tab in the formula part while you are creating a CF.

    Hope that helps!


    Dev EPM Consultant

    Monday, February 13, 2012 11:36 AM
  • hi dev,

    thanks for response,i dont think that it is possible through date/time function,if you can ellaborate your answer or share some links,it'll be really helpful

    thanks

    Monday, February 13, 2012 12:10 PM
  • Hi Anuj,

     There is no out of box feature available for date validation . For your scenario java script is good option .. for help refer below link

     http://epmxperts.wordpress.com/2011/09/02/date-validation-on-pdp-page-using-javascript/

    Thanks

    Nitin Goyal

    Monday, February 13, 2012 11:21 PM