Tagged: conditions, repeat
- This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by
Steve.
Viewing 1 reply thread
-
AuthorPosts
-
-
June 20, 2013 at 9:06 pm #857
nateskinMemberHello everyone!.
First of all,
I want to apologize for my English and also want to give thanks for the idea of the plugin. It has adapted to my needs so far.
I have a doubt (or problem, whatever you want to see it). I would like to display multiple fields when selecting a particular select. And I made a conditional as indicated by the instructions but not working properly.
I put the example in case you want to try:
piklist( 'field', array( 'type' => 'select', 'field' => 'my_field', 'label' => 'My Field', 'value' => 'Option 1', 'choices' => array( 'Option 1' => 'Option 1', 'Option 2' => 'Option 2', ) ) ); piklist( 'field', array( 'type' => 'text', 'field' => 'my_field_conditional_1', 'label' => 'My Field Conditional 1', 'conditions' => array( array( 'field' => 'my_field', 'value' => 'Option 2' ) ) ) ); piklist( 'field', array( 'type' => 'text', 'field' => 'my_field_conditional_2', 'label' => 'My Field Conditional 2', 'conditions' => array( array( 'field' => 'my_field', 'value' => 'Option 2' ) ) ) );You know you can be?
A greeting and thanks.
-
June 21, 2013 at 9:23 am #858
-
-
AuthorPosts
Viewing 1 reply thread
- You must be logged in to reply to this topic.