code: function onSubmit (...args) {
      setState(form, 'submitted', true)
      validate(form)
      getFormChildren().forEach(validate)
      onSubmitCallback.apply(props, args)
    }
docs: ************************************\
  functions
  \*************************************