This code is a hybrid that will let you use a hidden control while
messing about with it in your own HTML/XML:
def day_selector_widget(field, value):
xml_stuff = XML(response.render("widgets/
day_selector.html",
_id = str(field).replace('.','_'))
)
return DIV(
INPUT(
_type = 'hidden',
_id = str(field).replace('.','_'),
_name=field.name,
_value="|".join(value)), xml_stuff)
On Oct 20, 11:36 pm, Chris <[email protected]> wrote:
> Thanks. While I'd like to do that, I can't here, because I'm doing a
> custom input scheme with a different UI. That does give me an idea
> though. I'll try and copy the POST a SELECT multiple would send.
>
> On Oct 20, 11:29 pm, weheh <[email protected]> wrote:
>
>
>
> > Oh, and don't forget to make SELECT(..., _multiple='multiple', ...)