Quote:
Originally Posted by Lynne
Lack of quotes here maybe?
<if condition="$userinfo[field10]
Should be..
<if condition="$userinfo['field10']
What is it doing exactly? Nothing for the quotes at all? Or just some? Is it in the source code incorrectly or not at all?
|
The single quotes will cause a parse error.
Your css won't work right if the user doesn't provide all the fields.
You might be able to try something like this but it will get complex.
Code:
<div style="
<if condition="$userinfo[field14]">
font-size: $userinfo[field14]px;
</if>
<if condition="$userinfo[field11]">
font: $userinfo[field11];
</if>
...
">$message</div>