1. Example For Quality Enter Text here: abc ok Please enter valid data 2. Enter Text here: abc123 OK Please enter valid data Summary for above two Examples The Application…