Retouch addon - input validation
Closed this issue · 0 comments
ccfs commented
Case 1: If Width/Height is blank, or is not a positive number, a script error occurs after "Save" is clicked.
Suggestion:
- check if Width/Height is a positive integer
- otherwise prompt the user, then select the input field in error for user re-input
Case 2: If Quality is not a number from 0 to 100, an error occurs after "Save" is clicked.
Suggestion:
- check if Quality is a number from 0 to 100
- otherwise prompt the user, then select the input field in error for user re-input
Thanks.