Ok guys i have this form
<input id="valor" name="valor[]" type="checkbox" value="1" />
<input id="valor" name="valor[]" type="checkbox" value="2" />
<input id="valor" name="valor[]" type="checkbox" value="3" />
<input id="valor" name="valor[]" type="checkbox" value="4" />
<input id="valor" name="valor[]" type="checkbox" value="5" />
<input id="valor" name="valor[]" type="checkbox" value="6" />
<input id="result" name="result" type="text" />
what i need is:
When i check any of the checkboxes an array with the format (for example)
1|2|4
is updated in real time inside the result text field, so i can use in php to explode i tryed a lot of thins none works
PS. just passing trough post will not be enough i know if i just post this field i gonna have an array but i need to pass to the result field
thanks in advance