Form validation state design
This is SwiftUI live coding. A sign-up screen has four fields (name, ID, password, password confirmation) and a submit button. If name or ID is empty, show a warning alert; if the passwords differ, show a warning alert; if everything passes, show a success message. Select all the correct state designs.
Pick all that apply