Learn Courses My Dashboard

Verifying Data before continuing to next page

Can anyone point me to a tutorial or lesson that explains data validation both at the individual textbox level (for example, only accepting values 1-9, or only allowing certain values based on the selection in another field), as well as verifying all data is proper before allowing user to continuing to the next page.

Thank you in advance!

MK

@thekirk70

Welcome to the community.

Try this tutorial. Apart from the fact that it is based on a Storyboard application, which you can probably skip over if you are coding in SwiftUI, the methods of validation are discussed that you may find useful.

Warning: The tutorial is fast so you’ll have to hit the pause button.

(edit) The source code is available in the notes below the video.