Forum Replies Created
-
AuthorPosts
-
bigoperMemberAll 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
bigoperMemberThe 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
)
)
));
bigoperMemberthe attached files.
-
AuthorPosts