ids into hidden id field