WordPress.org

Ready to get started?Download WordPress

Forums

Options Framework
Hide group of fields by checkbox, radio or select (2 posts)

  1. Dinesh Kesarwani
    Member
    Posted 1 year ago #

    It is possible to add hide a group of elements on selection of radio, check-box or select. currently i am using Option Framework from (https://github.com/sy4mil/Options-Framework). in which i have done some modification.
    For this first i add an parameter to field for which hiding is required, then pass its id to desired field for check the hiding option. When the first field gets changed then by using its value the group field gets expand using jquery.
    Its structure looks like this
    Field 1:
    type : select/radio/checbox
    id : xyz
    slide_enable : true
    value : array(abc,def)

    Field 2:
    type : any
    slide : xyz
    slide_value : abc

    Field 3:
    type : any
    slide : xyz
    slide_value : def

    http://wordpress.org/extend/plugins/options-framework/

  2. Devin Price
    Member
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.