added some form functions getError(), getValues(), onSubmit(), onSuccess()