Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7526807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:56:10+00:00 2026-05-30T03:56:10+00:00

I need away to know if all fields have a value and if they

  • 0

I need away to know if all fields have a value and if they do, I want to activate the submit button.

I have looked at plugins but I don’t know which one I need/should use.

The form uses input, textbox and dropdown selects.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:56:11+00:00Added an answer on May 30, 2026 at 3:56 am

    If you don’t want to use a plugin you could do something simple like this (note: I haven’t tested this):

    /**
     * Checks to see if all of the values in a form are filled in.
     *
     * @param formId String the id of the form to check (without the #)
     * @return boolean True indicates all form fields are filled in
     */
    function checkForm(formId){
    
      var isFormComplete = true;
    
      $('#' + formId).find('input,select,textarea').each(function(){
          var formValue = jQuery.trim($(this).val());
    
          if(!formValue){
              isFormComplete = false;
          }
      });
    
      return isFormComplete;
    }
    

    and then on some event (probably focus or blur) you call this function, and toggle the submit button based on the return value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to shift away from Excel to Awk. I need basic mathematical operations,
Say I have a class with a few fields all marked with a custom
$('#submit').click(function () { //Get the data from all the fields var name = $('input[name=name]');
I have a cube rendering inside a Viewport3D and i need to know a
I know how to catch all unhandled exceptions in a given thread, but wondering
I need to know if there's a way in PHP to echo a string
I know there has to be a way: I need help getting any hot
i need to find away to parse html and css layout to be able
I need a way to update the month value on a dateTime field in
I have a MS CRM 4 form where when certain fields are changed, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.