Changed id attributes to name attribues on DOM components that's been rendering from database to preview window form.