View Full Version : Conditional Profile Field
checknme12
08-22-2004, 04:23 AM
Is there a way to edit this - $post[field5] $post[field6]- so that it will only show up if that field has been filled in within the user profile? Could anyone post the code to do so? Thanks very much in advance! I am learning!!!
checknme12
08-26-2004, 05:58 PM
anyone?
Gary King
08-26-2004, 06:21 PM
Just put something like this in the template that you want this to happen:
<if condition="$post[field5]">$post[field5]</if>
Basically, it means 'if the field has SOMETHING in it then show it, otherwise don't'.
checknme12
08-27-2004, 03:21 AM
Thanks so much Gary! I understand :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.