Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Conditional Attributes Boolean?, posted by Grant Jeffcote on Mon May 19 06:14:04 2008 
    icon2.gif   Re: Conditional Attributes Boolean?, posted by Stefan Ritt on Fri Jun 6 11:24:49 2008 
Message ID: 65905     Entry time: Fri Jun 6 11:24:49 2008     In reply to: 65886
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS:   ELOG Version: 2.7.3-2104 
Subject: Re: Conditional Attributes Boolean? 

Grant Jeffcote wrote:
After searching the manual and not finding (missing?) the answer is it possible to add conditional statements to a Boolean attribute? I would like a tick box to be able to trigger an event when submitted.


Conditions are not possible with boolean attributes. You have to define the attribute as a list like

Attributes = ..., Flag, ...
Options Flag = Yes{0}, No{1}

{0} ...

{1} ...
ELOG V3.1.5-3fb85fa6