.I believe, they should use Server-side scripting language
Server-side scripting language is used to validat the input that being submitted to the server using server side scripting languages such as ASP.Net, PHP etc
After the validation is complete, a new dynamic web page will be automatically generated.