keep the focus in the invalid field

keeps the focus in the invalid field so that user might not pass it
configurable  like other options i.e at config declaration level and at
control level