WordPress.org

Support

Support » Plugins and Hacks » Collapse-O-Matic » [Resolved] How to keep expanded after clicking submit button?

[Resolved] How to keep expanded after clicking submit button?

  • Hello! I have a search form with several checkboxes as search options inside [expand][/expand]. See below:

    <form action="" method="get">
    <input type="text" name="search" value="">
    <input type="submit" class="pods-form-filters-submit" value="Search">
    [expand title="Search Options:"]
    <input type="checkbox" name="title" checked="checked">
    	<label for="title">Title</label>
    <input type="checkbox" name="author">
    	<label for="author">Author</label>
    [/expand]</form>

    If the collapse-o-matic is still expanded before clicking the submit button, how do I keep it remain expanded when the page refreshes with the search results?

    Can I reference it using if and else in php? Please help.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How to keep expanded after clicking submit button?’ is closed to new replies.
Skip to toolbar