![]() |
Vb if condition question
Okay say i create 3 custum fields. now i want to have them set up in my postbit. But i dont want it to appear unless one of these fields is filled.
Now I want to have some text above Code:
<vb:if condition="$post['field5']"> <center>Text Here</center>< /br> <vb:if condition="$post['field5']"> | vb:if condition="$post['field6']"> | <vb:if condition="$post['field7']"> |
I don't understand exactly what you want but you use "AND" and "OR" inside the quoted stuff in the conditional. For example:
Code:
<vb:if condition="$post['field5'] OR $post['field6'] OR $post['field7']"> ............. </vb:if> |
yeah thats somewhat right. it will show it now but it will still show the images for the other fields. even though there blank ( figured out i needed to add the if conditions in between each link or they would all show reguardless )
Code:
<dl class="userinfo_extra"> |
All times are GMT. The time now is 05:31 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:
|