Thamelas
12-15-2009, 03:07 PM
Ok here is my problem. I have user profile fields where users enter info. The problem is that if they don't enter info in later fields, it seems to re-post the same info in following fields that the user left blank.
Can anyone tell me how to stop this from happening?
Below are screenshots and the code I am using:
<div class="smallfont"><if condition="$post['field5']">
Guild: <if condition="$post['field6']"><a href="$post[field6]" target="_blank">$post[field5]</a><else />$post[field5]</if></div>
</if>
<div class="smallfont"><if condition="$post['field16']">
Profile: <if condition="$post['field13']"><a href="$post[field13]" target="_blank">$post[field16]</a><else />$post[field5]</if></div>
</if>
<div class="smallfont"><if condition="$post['field14']">
Talent Spec: <if condition="$post['field15']"><a href="$post[field15]" target="_blank">$post[field14]</a><else />$post[field5]</if></div>
Correct Display:
https://vborg.vbsupport.ru/external/2009/12/131.jpg
Incorrect Display:
https://vborg.vbsupport.ru/external/2009/12/132.jpg
Can anyone tell me how to stop this from happening?
Below are screenshots and the code I am using:
<div class="smallfont"><if condition="$post['field5']">
Guild: <if condition="$post['field6']"><a href="$post[field6]" target="_blank">$post[field5]</a><else />$post[field5]</if></div>
</if>
<div class="smallfont"><if condition="$post['field16']">
Profile: <if condition="$post['field13']"><a href="$post[field13]" target="_blank">$post[field16]</a><else />$post[field5]</if></div>
</if>
<div class="smallfont"><if condition="$post['field14']">
Talent Spec: <if condition="$post['field15']"><a href="$post[field15]" target="_blank">$post[field14]</a><else />$post[field5]</if></div>
Correct Display:
https://vborg.vbsupport.ru/external/2009/12/131.jpg
Incorrect Display:
https://vborg.vbsupport.ru/external/2009/12/132.jpg