CVT forms and checkboxes as array

Hello everyone

I'm trying to build a email form with checkboxes using the new smart CVT form (http://www.spip.net/en_article3980.html).

It is not problem to get it to email me text-input content, but I have problem figuring out how to use checkboxes:

I have a nummer of checkboxes like this:

<form>
<input type="checkbox" name="xxxx[]"> aaa
<input type="checkbox" name="xxxx[]"> bbb
<input type="checkbox" name="xxxx[]"> xxx
</form>

But then I try to _request('xxxx') to get the results it just returns 'Array'.

What am i doing wrong? I have trying translating dicussions from the french mailing lists (http://www.mail-archive.com/spip@rezo.net/msg12668.html and http://www.mail-archive.com/spip-zone@rezo.net/msg11898.html) but I just can't get it to work.

Be the way: the actual form i located at http://krogerup.dk/Test-formular

I love SPIP, but sometimes the language barrier is killing me :slight_smile:

/larsg

But then I try to _request('xxxx') to get the results it just returns
'Array'.

this is when you cast it to a string. Try var_export( _request('xxxx'), 1)

-- Fil