ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66187
|
Mon Feb 2 10:08:17 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.5-2130 | Re: Error Message in HTML or Java Script alert |
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? |
66192
|
Fri Feb 6 10:47:11 2009 |
| Kim Rosmo | kiros2@gmail.com | Question | Windows | 2.7.5 | Options Category : User\Admin |
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 |
66193
|
Fri Feb 6 10:58:14 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.5 | Re: Options Category : User\Admin |
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:
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:
|
66194
|
Fri Feb 6 11:42:40 2009 |
| Kim Rosmo | kiros2@gmail.com | Question | Windows | 2.7.5 | Re: Options Category : User\Admin |
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:
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:
|
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 |
66195
|
Fri Feb 6 11:46:18 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.5 | Re: Options Category : User\Admin |
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). |
66201
|
Mon Feb 9 07:58:46 2009 |
| mike cianci | mike2.cianci@comcast.net | Comment | Windows | 2.7.5 | Re: Multi attribute email notification |
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) |
66202
|
Mon Feb 9 07:58:58 2009 |
| mike cianci | mike2.cianci@comcast.net | Comment | Windows | 2.7.5 | Re: Multi attribute email notification |
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) |
66211
|
Wed Feb 18 20:03:12 2009 |
| Nuruzzaman | nur@jlab.org | Info | Windows | 2.7.5 | How to share with others |
Please tell me how to share my elog with people. |