Form design has a very long history, in print, online and digital.
“There’s a major difference between form validations and warnings. Form validations enforce a set of rules and won’t allow the user to proceed, while warnings alert the user about possible problems but will allow them to proceed.”
(Jamie Appleseed a.k.a. @jamieappleseed ~ Baymard Institute)