Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Recursively open a new attribute of the same type, posted by Diogo Alves on Thu Apr 22 09:51:07 2010 
    icon2.gif   Re: Recursively open a new attribute of the same type, posted by Stefan Ritt on Thu Apr 22 12:29:05 2010 
       icon2.gif   Re: Recursively open a new attribute of the same type, posted by Diogo Alves on Fri Apr 23 08:32:10 2010 
          icon2.gif   Re: Recursively open a new attribute of the same type, posted by Stefan Ritt on Fri Apr 23 08:33:53 2010 
Message ID: 66795     Entry time: Fri Apr 23 08:32:10 2010     In reply to: 66793     Reply to this: 66796
Icon: Reply  Author: Diogo Alves  Author Email: diogomiguelalves@gmail.com 
Category: Question  OS: Linux  ELOG Version: 2.7.7 
Subject: Re: Recursively open a new attribute of the same type 

Stefan Ritt wrote:

Diogo Alves wrote:

Hi,

I have a logbook which, among other things, contains these attributes:

Options Ingredient = Egg, Oil

Options Quantity = 2, 0.1L

Now, I would like to, every time I select an ingredient and respective quantity, that another Ingredient and Quantity field opens up for me to procede addind them.

I've searched in the documentation and found nothing related to this. Maybe I missed it. Is it possible to do this?

Also, is there a way to display 2 attributes in the same row? Messing with CSS is probably the only answer ... correct?

Recursive attributes are not possible. All you can do is to define a certain number (like Ingredient1, Ingredient2, Ingredient3) and use Conditional Attributes to show them using the "Show Attributes Edit = ..." option.

To display two attributes in the same row, use 

Format <attribute> = 1

for the second attribute.

 

 Ok, thank you for your answer.

 

I guess my next question is whether it is possible to have, for example, 2 attributes:

Options Ingredient1 = 

Options Ingredient2 = 

Extendable options = Ingredients1, Ingredients2

sharing the exact same possible list of values.

 

Thanks agin.

ELOG V3.1.5-fe60aaf