Fixes #1478. Adds validation to field. Values must be in the store

fixes #1478 
`return true` should have semi colon after and a space before the curly bracket.