![]() |
Help with template conditionals please!
I believe you can use AND in template conditionals, but I do not quite know how lol.
I need a template conditional which will allow me to do the following in my memberinfo table. IF field 1 has no data AND field 2 has no data do not print A ELSE print B. A and B being two different bits of HTML. I'm finding this hard to explain, but if you could help out, it would be much appreciated. Ta! :) Nevermind, sorry... I worked it out! The power of OR. :) |
try
<if condition="$field1 AND $field2"> print B <else /> print A </if> |
All times are GMT. The time now is 02:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|