I am trying to create an application form that when submitted, and if certain fields are not filled in, it returns the form with the fields that the user has filled in (with their data). Also the fields that need to be filled in will be highlighted when the form is returned.
I know that this can be done with alot of if else statements which output the new set of fields, however is there a more efficient way to do this?
Any help is much appreciated.
Thanks in advance.