Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 90 of 807  Not logged in ELOG logo
    icon2.gif   Re: Error Message in HTML or Java Script alert, posted by Stefan Ritt on Mon Feb 2 10:08:17 2009 

 

Carsten Elftmann wrote:

 

Stefan Ritt wrote:

 

Carsten Elftmann wrote:
I have there a problem with the error message at required attributes.
 
I have two logbooks with identical settings,
in one the errror message appears as Javascript Alert,
in the other one as html-page, and after using the back button the entered text disapear.
Same I have in this forum.

 

Can you describe what you exactly enter in this forum to produce the error so that I can reproduce it?

 

 I could not produce this error here again, so I work on that:

There was a attribute with Type = Date, Preset = $Date.

This added following js code

  for (var i=0 ; i<document.form1.y0.value.length ; i++)
if ((document.form1.y0.value.charAt(i) < "0" ||
document.form1.y0.value.charAt(i) > "9")) { break }
This cause in following error 
Fehler: document.form1.y0 is undefined
Quelldatei: http://elog1.bkitech.de/Test-Maengelbericht/?cmd=Neu
Zeile: 16
After that error none js will be executed. After remarking the Type line, all work well.

 

I tried with following minimal configuration file:

Attributes = D, Author, Subject
Type D = Date
Preset D = $Date

and it worked fine. The form contains a field:

Year: <input type="text" size=5 maxlength=5 name="y0">

which contains the name "y0" and therefore produced no error. Can you try with that configuration and see which difference to your configuration causes the error to appear?

icon5.gif   Options Category : User\Admin, posted by Kim Rosmo on Fri Feb 6 10:47:11 2009 

Hi :)

First i have to say that i love this exelent program,

and that it saved me Hours of trouble using it ^^

Thanks Stefan Ritt :)

 

Now.. here is my problem :P

 

1. I was wondering if there is a possibility to have separate 'Options Category'..  One for Admin and one for User?

    If it is possible, can i have an example?

 

2. How can i arrange pictures in the main window, f.eks 1 picture in center, to the right or wherever i want?

Regards

Kim R

    icon2.gif   Re: Options Category : User\Admin, posted by Stefan Ritt on Fri Feb 6 10:58:14 2009 elog.pngelog.png
Kim Rosmo wrote:

Hi :)

First i have to say that i love this exelent program,

and that it saved me Hours of trouble using it ^^

Thanks Stefan Ritt :)

 

Now.. here is my problem :P

 

1. I was wondering if there is a possibility to have separate 'Options Category'..  One for Admin and one for User?

    If it is possible, can i have an example?

This is unfortunately not possible. All users see the same options. 

Kim Rosmo wrote:

2. How can i arrange pictures in the main window, f.eks 1 picture in center, to the right or wherever i want?

You can put the pictures in a table, and align the table cells accordingly. Here is an example:

 elog.png  elog.png

 

Now you can make the border invisible by setting "border=0". This however can only be done in the HTML mode, so you have to switch using the top left icon "Show HTML source code" and then manually edit the code. This requires some basic HTML knowledge. The result will look like this:

 elog.png  elog.png
    icon2.gif   Re: Options Category : User\Admin, posted by Kim Rosmo on Fri Feb 6 11:42:40 2009 

Stefan Ritt wrote:
Kim Rosmo wrote:

Hi :)

First i have to say that i love this exelent program,

and that it saved me Hours of trouble using it ^^

Thanks Stefan Ritt :)

 

Now.. here is my problem :P

 

1. I was wondering if there is a possibility to have separate 'Options Category'..  One for Admin and one for User?

    If it is possible, can i have an example?

This is unfortunately not possible. All users see the same options. 

Kim Rosmo wrote:

2. How can i arrange pictures in the main window, f.eks 1 picture in center, to the right or wherever i want?

You can put the pictures in a table, and align the table cells accordingly. Here is an example:

 elog.png  elog.png

 

Now you can make the border invisible by setting "border=0". This however can only be done in the HTML mode, so you have to switch using the top left icon "Show HTML source code" and then manually edit the code. This requires some basic HTML knowledge. The result will look like this:

 elog.png  elog.png

 Thanks for a fast reply :)

Its a lot of html tutorials on the net, so i think i will make it with the tables ^^

Regarding the 'Options Category' I can live with it... I have removed edit mode in User, so only Admin can delete or edit.

One last question.. Background color possible?  (Not Style)

Kim R

    icon2.gif   Re: Options Category : User\Admin, posted by Stefan Ritt on Fri Feb 6 11:46:18 2009 
Kim Rosmo wrote:

Thanks for a fast reply :)

Its a lot of html tutorials on the net, so i think i will make it with the tables ^^

Regarding the 'Options Category' I can live with it... I have removed edit mode in User, so only Admin can delete or edit.

One last question.. Background color possible?  (Not Style)

Only through style (that's what style is for, anyhow). 

    icon2.gif   Re: Multi attribute email notification, posted by mike cianci on Mon Feb 9 07:58:46 2009 

John Rouillard wrote:

mike cianci wrote:

Your suggestion worked GREAT (like always)

 

 Could you post an example of what you used?

 Sorry, it took me so long to respond. I didn't notice your request.

 

Attributes = Instrument, Notify Lead Tech

Options Instrument = Olympus, Beckman

Options Notify Lead Tech = Yes{a}, No {b}

{a}Email Instrument Olympus = John@lab.net         (i.e. if it is "Yes" and  "Olympus" - John gets an email)

{a}Email Instrument Beckman = Mary@lab.net         (i.e. if it is "Yes" and  "Beckman" - Mary gets an email)

    icon2.gif   Re: Multi attribute email notification, posted by mike cianci on Mon Feb 9 07:58:58 2009 

John Rouillard wrote:

mike cianci wrote:

Your suggestion worked GREAT (like always)

 

 Could you post an example of what you used?

 Sorry, it took me so long to respond. I didn't notice your request.

 

Attributes = Instrument, Notify Lead Tech

Options Instrument = Olympus, Beckman

Options Notify Lead Tech = Yes{a}, No {b}

{a}Email Instrument Olympus = John@lab.net         (i.e. if it is "Yes" and  "Olympus" - John gets an email)

{a}Email Instrument Beckman = Mary@lab.net         (i.e. if it is "Yes" and  "Beckman" - Mary gets an email)

icon5.gif   How to share with others, posted by Nuruzzaman on Wed Feb 18 20:03:12 2009 

Please tell me how to share my elog with people.

ELOG V3.1.5-3fb85fa6