![]() |
vb:if conditional inside a vb:each ... possible?
1 Attachment(s)
Is it possible to nest a <vb:if> conditional inside a <vb:each>?
Here is what I am trying to accomplish: Code:
<vb:each from="full_list" value="list"> Code:
Char Name Class1 Name(10), Class2 Name(3) Any help would be appreciated. I've tried things like != '0', != NULL, != 'NULL', !='', etc. I've also tried various syntax for the 'full_list.class_3' part of the if conditional, no joy. --------------- Added [DATE]1298499736[/DATE] at [TIME]1298499736[/TIME] --------------- Looks like I posted prematurely again! Hopefully this will help others in the future though. SOLUTION! As you can see, i changed up the syntax in the IF conditional. I also took my previous advice and changed the database field from a DEFAULT NULL to a DEFAULT '0'. Code:
<vb:each from="full_list" value="list"> |
All times are GMT. The time now is 01:53 PM. |
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:
|