Forums

jQuery Collapse-O-Matic
[resolved] Sticky - Expanded with Page Refresh (2 posts)

  1. flahammerhead
    Member
    Posted 3 months ago #

    Awesome plugin and I am hopeful it will work with forms.

    I have included a "form" within the hidden section and it opens wonderfully when the title is clicked. For example I have a simple registration form that is hidden with the title "Click Here To Register". It opens a form beautifully that will allow the user to register. The problem I am having is form validation and results that get displayed in the form. When the form is submitted the page refreshes and returns to the "collapsed state" hiding any errors on form submission. The only way to see form submission errors is to uncollapse again. Is there any way to make the window "sticky" so once uncollapsed it stays open even with a page refresh and requires the users to manually collapse? This would make this plugin virtually endless in terms of how it could be used.

    Thanks again

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Posted 2 months ago #

    You might try the following:

    1. use the id attribute to assign the collapse element a specific ID
    2. append #your_element_id_name to the end of the form's action url

    Take a look at the kraftwerk example used in explaining how the id attribute works in Collapse-O-Matic's Detailed Documentation

    Please do let us know if this worked out for you.

Reply

You must log in to post.

About this Plugin

About this Topic