Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Extend fields in ELOG, posted by Michael Dannmeyer on Tue Nov 10 13:20:43 2009 
    icon2.gif   Re: Extend fields in ELOG, posted by Stefan Ritt on Tue Nov 10 14:21:48 2009 
       icon2.gif   Re: Extend fields in ELOG, posted by Michael Dannmeyer on Tue Dec 1 14:23:44 2009 
          icon2.gif   Re: Extend fields in ELOG, posted by Michael Dannmeyer on Tue Dec 8 13:23:58 2009 
             icon2.gif   Re: Extend fields in ELOG, posted by Stefan Ritt on Tue Dec 8 14:17:43 2009 
                icon2.gif   Re: Extend fields in ELOG, posted by Michael Dannmeyer on Wed Dec 9 14:35:56 2009 
                   icon2.gif   Re: Extend fields in ELOG, posted by Stefan Ritt on Sat Dec 12 20:31:44 2009 
Message ID: 66590     Entry time: Tue Nov 10 14:21:48 2009     In reply to: 66589     Reply to this: 66635
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: 2.7.5-2130 
Subject: Re: Extend fields in ELOG 

Michael Dannmeyer wrote:

I want to extend the usage of ELOG and have 2 Questions:

1. Is it possible to have Fields which only appears if another selection is done? e.g. I create a new entry. This new entry has a type field. If I chose the Type "ABC" another field appears where the departemnt could be choosen. If I select Type "DEF" the Department field does not appear.

2. I have a field Status. This is a predefined field with 3 entries (New,  under progress, closed). If i change the status field time, date old and new status should be logged or written in the text field. I can log this with the answer field with a new ID. But is there any other way to log it in the text field or log it with no new ID? 

Can i implement the wishes above? If yes how does it work?

Thanks for your help

Michael

1. is simple, just use conditional attributes like:

Attributes = Author, Type, Status, Revisions, Department
Options Type = ABD{1}, DEF{2}
Show Attributes Edit = Author, Type, Status, Revisions
{1}Show Attributes Edit = Author, Type, Status, Revisions, Department
{2}Show Attributes Edit = Author, Type, Status, Revisions

2. is more complicated. Have a look at FAQ # 11. Try something like:

Options Status = New, Under progress, Closed
Subst Revisions = $date status $status
Subst on Edit Revisions = $Revisions<br>$date status $status

But when testing this, I realized that there is a bug in elog and the subsitution is done before the submission, not after. I fixed that in SVN revision 2263, so it will be contained in the next Windows release.

ELOG V3.1.5-3fb85fa6