i have this form and i can't find a way to return the results in an array. How can it be done? I am trying to get this forms results so i can save them as a field in a mongodb document. I know the process of saving it but not how to retrieve it in a useful way.
form.form-inline(type = 'checkbox', action='/settings', method='post')
label.checkbox.inline
input#inlineCheckbox1(type='checkbox',value='en')
| English
label.checkbox.inline
input#inlineCheckbox2(type='checkbox',value='ger')
| German
label.checkbox.inline
input#inlineCheckbox3(type='checkbox',value='spa')
| Spanish
label.checkbox.inline
input#inlineCheckbox3(type='checkbox',value='it')
| Italian
label.checkbox.inline
input#inlineCheckbox3(type='checkbox',value='jap')
| Japanese
p
button.btn(type='submit') Save
UPDATE
I've used on the server var arr = Object.keys(req.body) but i only get 'English' and nothing else...