PDA

View Full Version : if condition for profile field


yahooooh
03-15-2011, 04:14 PM
hello i need help in this plz

i have javascript and i make option in privacy options for user to choose yes or no , i make it through profile field
if he choose no , the script should not appear

now what is exactly the right command:
<vb:if condition="$userinfo['fieldx25'!= 'no']">
javascript
</vb:if>

i try it but it is not working

--------------- Added 1300210585 at 1300210585 ---------------

ok i fixed it
<vb:if condition="$bbuserinfo['field44'] != 'no']">
javascript
</vb:if>