Closed vityok closed 10 years ago
You can use getf-all
of "multival-plist" for that.
Hi Eitarow, thanks for the tip!
Since input type checkbox are a common feature occurring in HTML forms, would you please consider adding a corresponding tip to the documentation and probably a multival-plist
dependency to the project skeleton so that it would be possible by default to access these items? I am sure that newcomers would be glad to have this.
Thanks!
Yeah, you're right. I'm going to add it.
Information now available on the project readme page. Resolinvg/closing the issue.
Thanks!
I think that eventually I will figure it out, but it would be nice to have this information in the documentation/tutorial: what is the proper way to get a list of selected checkboxes?
for example, if I've got two checkboxes named "item-id" selected in a form, then the params list will be:
however,
getf
will return only one of the selected items:It would be great to have a default way to access these values as a list described in the documentation.