Validate app
- Adds input validation in
submit.yml.erbscript instead ofscript.yml.erb.
This allows validations to occur instantly and error messages to be displayed on the On-Demand submission screen. An additional benefit is that all input errors are displayed simultaneously.
And this also makes the script.sh.erb file cleaner because all the validation happens in submit.yml.erb through embedded Ruby code.