Feb 02, 2012, 10:33 AM
[CLOSED] Controlling how a checbox value is submitted in a formpanel
Hi,
If I have a bound checkbox in a formpanel:
What I want, is for it to submit IsArchived=true if selected, else IsArchived=false. Can I do this ?
Many thanks
If I have a bound checkbox in a formpanel:
<ext:Checkbox ID="IsArchived" runat="server" FieldLabel="Archived" DataIndex="IsArchived" />
When I save the formpanel, if the checbox is checked the form data contains IsArchived=IsArchived but if not it doesn't submit anything for isArchived.What I want, is for it to submit IsArchived=true if selected, else IsArchived=false. Can I do this ?
Many thanks
Last edited by Daniil; Feb 02, 2012 at 12:18 PM.
Reason: [CLOSED]