Best Practices for Validating a specific step in a wizard

we have something similar in a custom snippet that checks for meeting the necessary criteria when clicking a button.  we just added the “Run a Skuid JavaScript snippet” action type as an action that occurs before saving the model changes.  But, I’m also looking to see if there is a better way to do this.

Also, i just found this page with a section called “Example: Validate required fields on Models, then navigate to another step”:
http://help.skuidify.com/m/11720/l/218340-wizard-component-custom-button-actions