Log in

View Full Version : quick question profile field


lasto
09-09-2006, 01:44 PM
ok here it is

i have a field that i need calling into postbit and the field is called field5

i use this code to call it in but its showing in everyones postbit whereas i only want it to show if they filled in field5

can anyone give me the correct code.

<a href="$post[field5] ">view my homepage</a>

Kirk Y
09-09-2006, 03:21 PM
<if condition="$post[field5]"><a href="$post[field5] ">view my homepage</a></if>

lasto
09-09-2006, 07:25 PM
cheers m8 i knew it was something simple :)

is there a conditional i could use as i have 2 usergroups and usergroup 1 are filling in the box when the link im using should be only for usergroup 2