Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Category Date Field Default Value

Status
Not open for further replies.

menu

Technical User
Apr 25, 2001
24
AE
Greeting all:
I have created a category that has three fields one of them is "Date" field and I want the user every time he adds this category to have a default value of current date + 7 days. Can anyone help?

Thanks,

Alshreef
 
If you change the way the date attribute is designed in core livelink wouldn't that affect other categories using the same DATE field attribute also.There is also a freebie in OT's KB I beleive is called attribute extensions.It allows you to create extensions to the attribute data types(An example of creating a SSN attribute comes with it).Another way would be to override the attribute weblingo screen(the popup that
applies the category) using a mapping tool such as customizations_RT.If you choose that route you will probably end up doing something like in psuedocode
Code:
    if category is defined and it matches "mycategory"
      grab system date (client javascript function)
      apply systemdate+correction (correction is 7)
      end if


submit

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top