Title: Required inputs
Last modified: August 20, 2023

---

# Required inputs

 *  Resolved [minichiello](https://wordpress.org/support/users/minichiello/)
 * (@minichiello)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/required-inputs/)
 * Hello,
   I am currently using a multi-step form, and on a page there is a checkbox
   that if selected some input fields become required, but if I leave these required
   fields in the default form in the field and these are not filled in, the submission
   will not proceed.My question is whether there is an option to use the $form object
   in JavaScript, to enable this field to be required by default using JavaScript
   in the moment the checkbox field is selected, I am currently using JavaScript
   to make these input fields required in the HTML, but this is not an elegant way.
   Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/required-inputs/#post-16988264)
 * Hi [@minichiello](https://wordpress.org/support/users/minichiello/)
 * I hope you are doing well today.
 * Unfortunately, it is a bug in the plugin which we have already reported.
 * I checked but we don’t have a workaround for that. Future update should fix this
   issue.
 * Kind Regards,
   Kris
 *  Thread Starter [minichiello](https://wordpress.org/support/users/minichiello/)
 * (@minichiello)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/required-inputs/#post-16998961)
 * Hi Kris, thanks for your response!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Required inputs’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [input](https://wordpress.org/support/topic-tag/input/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 2 participants
 * Last reply from: [minichiello](https://wordpress.org/support/users/minichiello/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/required-inputs/#post-16998961)
 * Status: resolved