Stangsta
02-06-2006, 04:28 AM
Ok, for example profile field#3.
I would like to make it appear in my postbit as a radio button with a submit button.
Well, I got that part down...NO PROBLEM!
The problem is that after submitting, it DOES change the option in the userCP/edit profile, but it DOES NOT reflect that on the postbit. It will go back to not having either selected in the radio button. I would like it to retain the last choice by that user in the postbit, just as it does in the userCP/edit profile. It works just fine there, but not in the postbit!
HELLLLLLLLLLLLP!!!!
Heres what im using:
<fieldset class="fieldset">
<legend>Style</legend>
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr>
<td>
</td>
</tr>
<tr>
<td>
<label for="rb_cpf_field3_1"><input type="radio" name="userfield[field3]" value="1" id="rb_cpf_field3_1" />Style 1</label>
<label for="rb_cpf_field3_2"><input type="radio" name="userfield[field3]" value="2" id="rb_cpf_field3_2" />Style 2</label>
</td>
</tr>
</table>
</fieldset>
<input type="hidden" name="userfield[field3_set]" value="1" />
I would like to make it appear in my postbit as a radio button with a submit button.
Well, I got that part down...NO PROBLEM!
The problem is that after submitting, it DOES change the option in the userCP/edit profile, but it DOES NOT reflect that on the postbit. It will go back to not having either selected in the radio button. I would like it to retain the last choice by that user in the postbit, just as it does in the userCP/edit profile. It works just fine there, but not in the postbit!
HELLLLLLLLLLLLP!!!!
Heres what im using:
<fieldset class="fieldset">
<legend>Style</legend>
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr>
<td>
</td>
</tr>
<tr>
<td>
<label for="rb_cpf_field3_1"><input type="radio" name="userfield[field3]" value="1" id="rb_cpf_field3_1" />Style 1</label>
<label for="rb_cpf_field3_2"><input type="radio" name="userfield[field3]" value="2" id="rb_cpf_field3_2" />Style 2</label>
</td>
</tr>
</table>
</fieldset>
<input type="hidden" name="userfield[field3_set]" value="1" />