PDA

View Full Version : selection box and gender


Sumone
01-08-2006, 11:05 PM
hi,

i created two fileds for gender male and female and choose the selection box that was simple and easy. however, how do i go about printing the output in posbit i know there is a mod but that uses image i just wanna use simple text

Gender:Male

i am not a coder can this be done please shade some light what statement i use for outputting the selection. thanks in advance.

best regards,

peterska2
01-08-2006, 11:15 PM
Which gender mod are you using?

The method will be different for the different ones available so I recommend asking in the appropraite support thread.

Sumone
01-08-2006, 11:27 PM
hi,

i am not using any gender mod however here is one i am looking into

<if condition="$post[fieldX] != ''"><div>
Gender: <img src="images/gender/$post[fieldX].gif" title="$post[fieldX]" align="center">
</div></if>

so what i am looking forward to is not the image but the selection of the user as text Male or Female.

thanks

peterska2
01-08-2006, 11:31 PM
<if condition="$post[fieldx]"><div>Gender: $post[fieldx]</div></if>will do the trick quite nicely for you.

Sumone
01-08-2006, 11:38 PM
<if condition="$post[fieldx]"><div>Gender: $post[fieldx]</div></if>will do the trick quite nicely for you.


thank you so so much works like a charm. i really really appreicate the quick replies. you rock!!!

best regards,

peterska2
01-08-2006, 11:40 PM
Thanks. Any more problems or queries just shout.