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 8762113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:26:57+00:00 2026-06-13T15:26:57+00:00

I would like to be able to disable opening/closing collapsible’s in a set, instead

  • 0

I would like to be able to disable opening/closing collapsible’s in a set, instead the user is going to click a continue button inside of the open element which will do validation and then open the next element when its ready to. I’m basically using the collapsible set as a wizard. I have been searching the docs and have found where I can capture an event when the collapse takes place but I can’t find how to cancel it. Any suggestions, or suggestions of other wizard type controls that would do what I’m talking about I would appreciate it!

  • 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-06-13T15:26:58+00:00Added an answer on June 13, 2026 at 3:26 pm

    After a bit more research I have finally found an answer to this. Posting it here in hopes its helpful to anybody else trying to turn an accordion into a wizard.

    My collapsible is set up like this:

     <div data-role="collapsible" data-collapsed="false" id="col1" >
         <h3>Title</h3>
         <p>
             <input type="text" />
             <input type="button" value="Next" onclick="nextClicked(1);" />
         </p>
     </div>
    

    To stop the click from working but maintain being able to trigger the expand I use this jquery:

    $(document).ready(function () {
        $("#col1 h3 a").click(function (event) {
            return false;
        });
    });
    

    I had tried using preventDefault and stopPropagation but neither of these did it. Apparently return false does some extra work as well as those two.

    Edit: I found out that this works in a browser but does not prevent it on mobile, to prevent it on mobile you also have to capture the tap event, but be careful, you have to do it on the header and not the entire collapsible or any elements in the collapsible such as buttons will not register either. This is the code I used:

    $("#col1 h3").on("tap", function (event, ui) {
        return false;
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to be able to press a button to disable the menu
Would like to be able to set colors of headings and such, different font
I would like to be able to add the help button onto my winform,
So I have a form and I would like to disable the submit 'button'
I would like to disable postback on a onClick event of a button. I
I would like to be able to disable an item in the list component
I have a radio button that I would like to be able to enable
I would like to be able to disable the iPad touch & hold functionality
I would like to be able to output the name of a variable, along
I would like to be able to print in the logs a message for

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.