How can we separate value from label of radio button or checkbox?