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

  • Home
  • SEARCH
  • 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 974039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:22:16+00:00 2026-05-16T03:22:16+00:00

I have this multiple select: <select id=sel_dest name=dest_var[] multiple disabled=disabled size=10> <option value= selected>Destinatario</option>

  • 0

I have this multiple select:

<select id="sel_dest" name="dest_var[]" multiple disabled="disabled" size="10">
<option value="" selected>Destinatario</option>
<option value="1"> .........
</select>

how can i validate (required field) this select with jquery validation plugin?

this code doesn’t work:

$("#register_form").validate({
rules: {
    dest_var: {
        required: true;
    }
}
});
  • 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-16T03:22:17+00:00Added an answer on May 16, 2026 at 3:22 am

    Simply use a required class for the select tag.(and remove the [] in the id)

    <select id="sel_dest" name="dest_var" class="required" multiple disabled="disabled" size="10">
    <option value="" selected>Destinatario</option>
    <option value="1"> .........
    </select>
    

    script:

    $("#register_form").validate();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this example : <form action=form_action.asp> <select multiple=multiple name=example size=10> <option value=foo>Foo</option> <option
I have this: <select id=combo1 size=7 name=operacion> <option selected= value=000>Selecciona una categoría</option> <option value=1>AUTORIZACIÓN
I have this html: <select name=garden multiple=multiple id=garden> <option value=1>Flowers</option> <option value=2>Shrubs</option> <option value=6>Trees</option>
I have this HTML: <select multiple='multiple' size='3'> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> Using
So I have two multiple select boxes like this <select id=foo multiple=multiple> <option value=1>Option
I have this piece of HTML <select multiple= name=colonia_id[] id=colonia_id[] onchange= size=10></select> I need
i have a form that has select element <select name=adddisplaypage[] id=adddisplaypage multiple=multiple> <option value=all
Really quick (but complicated?) question. I have this: <select multiple=multiple id=id_products class=selectmultiple name=products> <option
I have this ingredients array which contains multiple variables (like name, icon, value etc.).
I have multiple select menus where the pattern is : <select name='device$num' id='device$num' size='8'

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.