Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: conditions is not working for show/hide #6495
    bigoper
    Member

    All good now,

    I was able to fix this with:
    1. latest version of PIKLIST 0.9.9…
    2. Adding ‘scope’ to:
    – field
    – field conditions
    3. Please upload the latest PIKLIST version to WORDPRESS.ORG.

    Thanks you for an amazing product.
    Avi

    in reply to: conditions is not working for show/hide #6490
    bigoper
    Member

    The code:

    piklist(‘field’, array(
    ‘type’ => ‘select’
    ,’required’ => true
    ,’scope’ => ‘taxonomy’
    ,’tabindex’ => ’12’
    ,’field’ => ‘bag_granite_backsplash_options’
    ,’label’ => __(‘Granite BackSplash Selection’)
    ,’description’ => ‘List of well known Options.’
    ,’choices’ => array(
    ” => ‘Choose a BackSplash’
    )
    + piklist(get_terms(‘bag_granite_backsplash_options’, array(
    ‘hide_empty’ => false
    ))
    ,array(
    ‘term_id’
    ,’name’
    )
    )
    ));

    piklist(‘field’, array(
    ‘type’ => ‘textarea’
    ,’tabindex’ => ’13’
    ,’field’ => ‘bag_granite_backsplash_options_other’
    ,’label’ => __(‘Granite Stone Other Description’)
    ,’description’ => ‘Please provide a detailed description of the requested option.’
    ,’attributes’ => array(
    ‘rows’ => 3
    ,’cols’ => 50
    ,’class’ => ‘large-text’
    )
    ,’conditions’ => array(
    array(
    ‘field’ => ‘bag_granite_backsplash_options’
    ,’value’ => ‘1437’ // other = 1437
    )
    )
    ));

    in reply to: conditions is not working for show/hide #6489
    bigoper
    Member

    the attached files.

Viewing 3 posts - 1 through 3 (of 3 total)