Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 117 of 806  Not logged in ELOG logo
    icon14.gif   Re: Numerous questions that I am hoping to get a response on, posted by Steve Jones on Mon Apr 3 16:39:33 2006 
[quote="Steve Jones"][quote="Stefan Ritt"][quote="Steve Jones"]Stefan, I have several issues/questions that I am still hoping to get an answer on.  Any
chance?  If you would rather you can send email to me directly.[/quote]
icon5.gif   Simple math within an elog form, posted by Steve Jones on Tue Apr 4 06:18:18 2006 
This may sound a little strange but I am trying to determine if it is possible to create a series of attributes that may be assigned an integer value via
OPTIONS, and then take the selected values and perform some simple math and display the result.  For example:
    icon2.gif   Re: Simple math within an elog form, posted by Steve Jones on Wed Apr 5 00:00:14 2006 
[quote="Stefan Ritt"][quote="Steve Jones"]This may sound a little strange but I am trying to determine if it is possible to create a series of attributes
that may be assigned an integer value via OPTIONS, and then take the selected values and perform some simple math and display the result. [/quote]
    icon2.gif   Re: Simple math within an elog form, posted by Steve Jones on Wed Apr 5 13:50:14 2006 
[quote="Stefan Ritt"][quote="Steve Jones"]
[code]
Subst TotalRisk = $shell(echo $Risk1 + $Risk2 + $Risk3 > /tmp/elog_out)
    icon14.gif   Re: Simple math within an elog form, posted by Steve Jones on Wed Apr 5 18:56:48 2006 
[quote="Steve Jones"][quote="Stefan Ritt"][quote="Steve Jones"]
[code]
Subst TotalRisk = $shell(echo $Risk1 + $Risk2 + $Risk3 > /tmp/elog_out)
icon5.gif   Triggering $shell question, posted by Steve Jones on Wed Apr 5 20:25:42 2006 
Should this work?  rev1684 now allows $shell to pass attribute contents to the shell command and whenever a new entry is submitted or when one Edits/Replys
the Subst is triggered, but I would like to be able to trigger this whenever a new value in the options pulldown is selected (assume Risk2 and Risk3 are
identical to Risk1).  Being able to trigger a regular Preset works fine (like {1} preset Date = $date ) but I would like to trigger the Subst.  Maybe a
    icon2.gif   Re: Triggering Re: Triggering $shell question, posted by Steve Jones on Wed Apr 5 22:48:49 2006 
[quote="Steve Jones"]Should this work?  rev1684 now allows $shell to pass attribute contents to the shell command and whenever a new entry is submitted
or when one Edits/Replys the Subst is triggered, but I would like to be able to trigger this whenever a new value in the options pulldown is selected (assume
Risk2 and Risk3 are identical to Risk1).  Being able to trigger a regular Preset works fine (like {1} preset Date = $date ) but I would like to trigger
    icon2.gif   Re: elogd 2.6.1 program Crash is repeatable under Windows, posted by Steve Jones on Fri Apr 7 05:07:20 2006 elog_2.JPG
[quote="Stefan Ritt"][quote="Steve Jones"]BTW, Stefan, unless you can make the most recent version of a Windows eLog available I cannot test the most recent
-- I do not have access to a Windows development environment.  Solaris-Yes, Linux-Yes, Windoze-No.[/QUOTE]
ELOG V3.1.5-3fb85fa6