form validation and list styling