Add `validate` to `input.js` for form-level validation; add license.
Add license.