Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Preset of a drop-down box entry with a "%" character, posted by Tobias Bagger on Sun Feb 18 10:51:13 2007 
    icon2.gif   Re: Preset of a drop-down box entry with a "%" character, posted by Stefan Ritt on Mon Feb 19 11:29:03 2007 
Message ID: 2140     Entry time: Sun Feb 18 10:51:13 2007     Reply to this: 2141
Icon: Question  Author: Tobias Bagger  Author Email: tobiasb@trashmail.net 
Category: Question  OS: Linux  ELOG Version: 2.6.3-1762 
Subject: Preset of a drop-down box entry with a "%" character 
How do I preset a drop-down box entry which contains a % character?

I use following lines in the elogd.cfg:

Options list->ta = K - 0%, S - 10% (text a1), F - 20% (text a2)
Preset list->ta = K - 0%

The documentation says:
If a preset value is given for an attribute which has an options list, the preset value is selected in the drop down box by default.

But this doesn't work for me. I also tried

Preset list->ta = "K - 0%"
Preset list->ta = K - 0%%
Preset list->ta = K - 0\%

without success. What's the right way to do this?


Best regards
Tobias
ELOG V3.1.5-fe60aaf