By: Michaelsen
Date: 2005-08-28
Time: 20:14
|
Single Quotes
I'm sorry if this was already addressed in the forum but I couldn't find a working solution for this problem.
When I'm doing this:
[var.pages;if [val]+-1;then '[onload;file='inc.paginas.html']'] |
Then the single quotes are rendered in the layout. How can I avoid this?
I appreciate any help!
Cheers!
- Michaelsen
|
By: Skrol29
Date: 2005-08-29
Time: 18:46
|
Re: Single Quotes
Hello,
You should use [onshow] instead of [onload] because onshow fields are processed after Var fields. And this is probably the source of your problem.
|
By: Michaelsen
Date: 2005-08-30
Time: 07:08
|
Re: Single Quotes
Hi Skrol,
Unfortunately this is not working.
However, reading your post I considered using "when", and now it is working without single quotes on render.
Thank you again!
Cheers!
|
By: Michaelsen
Date: 2005-08-30
Time: 09:04
|
Re: Single Quotes
Hmm, can't make it to work, weird.
I'll keep trying.
Cheers!
|
By: Pirjo Posio
Date: 2005-08-30
Time: 10:23
|
Re: Single Quotes
Hi Michaelsen,
Maybe you should test if the value is unexpected, and decide later, what to do for other values, like this:
[var.pages;if [val]+-1; then '[onload;file='inc.paginas.html']'; else 'value???']
|
I'm not sure about the blanks before the ; -signs, but I always use them.
|
|
Posting in progress.
Please wait...
|