WordPress.org

Forums

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

  1. cyberwani
    Member
    Posted 10 months 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 9 months ago #

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.