![]() |
Using IF condition
This doesn't work, but is there a way to do something equivalent to this:
PHP Code:
|
Code:
<if condition="$post['field70'] == Yes"> |
Code:
<if condition="$post['field70'] == 'Yes'"> |
Thanks. How would I be able to put the javascript into effect, because for some reason for people who say Yes to that field, it does nothing,
|
Code:
<if condition="$vbulletin->userinfo['field70']" == "Yes"> |
Shouldn't it be:
Code:
<if condition="$vbulletin->userinfo['field70'] == 'Yes'"> |
Right -- the whole condition should be enclosed within double quotes.
Code:
$vbulletin->userinfo['field70'] == 'Yes' |
Whoops my bad, forgot about those ones. :D
|
We had you covered, sir. ;)
|
Thanks guys. .Works perfect.
|
All times are GMT. The time now is 02:33 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:
|