Values in URL for WOCheckBox?
Values in URL for WOCheckBox?
- Subject: Values in URL for WOCheckBox?
- From: John Pollard <email@hidden>
- Date: Fri, 13 Mar 2015 10:27:38 +0000
Hi List,
I have a direct action method called from a form submission, where the form includes WOCheckBox. I note that if the check boxes start unselected, then any that are selected prior to the form submission appear in the direct action url like this:
si_218515=0.0.23.5.1.20.0.6.5.1.5.7.1.1.1
Where si_218515 is the name I assigned to the WOCheckBox
I would have expected a value of true/false or 1/0. What am I actually getting with 0.0.23.5.1.20.0.6.5.1.5.7.1.1.1 and can I change it to be something shorter, as all I care about is whether a check box is selected.
In fact I can work on the presence or absence of any value as unchecked boxes are omitted, but it would be nice to shorten the url and ideally have a true or false.
Thanks
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden