Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 448 of 808  Not logged in ELOG logo
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 13:24:06 2017 
You can do that with conditional attributes (see documentation):

 

Attributes = Author, Author Email, Icon, Category, System, Subject
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:04:13 2017 
Thanks for your quick reply! I just test what you suggested, even I test {1} Preset on edit Icon = icon1.gif, they both didn't work.




Stefan
Ritt wrote:



You can do that with conditional attributes (see documentation):
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 14:13:07 2017 
The example I gave you worked for me, I actually tested it. Please note that it contains

Options Category = ...

and not
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:23:08 2017 
Sorry for my carelessness. What you said is definitely right. I just wonder how can Icon and Catagory change simultaneously whatever which one be selected
first.




Stefan
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 14:35:22 2017 
If you select a (different) category, the current icon setting simply gets overwritten, what ever it was before.




Xuan
Wu wrote:



Sorry for my carelessness. What you said is definitely right. I just wonder
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:40:59 2017 
What I mean is that, when I select a catagory, the icon will change. If I change the icon, I need the catagory change too. 




Stefan
Ritt wrote:



If you select a (different) category, the current icon setting simply
    icon2.gif   Re: How to make two attributes reacting with each other, posted by Andreas Luedeke on Fri Jan 6 10:22:24 2017 
IOptions does not support conditional attributes.

I think the proper solution would be to remove the icon selection field from the input form:

Show Attributes Edit = Author, Author Email, Category, System, Subject

The
    icon2.gif   Re: Is it possible to add custom menu commands, posted by Stefan Ritt on Mon Jan 9 11:00:53 2017 
No, calculations are not easily possible with elog. You can write some Javascript code to pull out all minutes, add them up and manipulate the DOM tree
to show the results, but this requires some JavaScript knowlegde. Alternatively, export your table to a CSV file and do your calculations with a spreadhseet
program.
ELOG V3.1.5-3fb85fa6