jquery validate: IF form valid then show submit button

后端 未结 3 2031
离开以前
离开以前 2020-12-17 04:51

I have a basic empty form and would like to only show the submit button once:

  1. Data has been entered into the form.
  2. All required/va
3条回答
  •  误落风尘
    2020-12-17 05:02

    Suggest that you fire some javascript on the change events of your form inputs and check whether each one passes your validation. If it does then fade in the button.

提交回复
热议问题