- This topic has 4 replies, 3 voices, and was last updated 1 year, 2 months ago by .
Please consider the following field:
array ( 'id' => $prefix . 'radio_w1rh3xgybz', 'name' => esc_html__( 'Business address source', 'text-domain' ), 'type' => 'radio', 'std' => 'organisation_this', 'options' => array( 'organisation_this' => esc_html__( 'This organisation', 'text-domain' ), 'organisation_other' => esc_html__( 'Other organisation', 'text-domain' ), 'home' => esc_html__( 'Home address', 'text-domain' ), ), 'inline' => 1, 'required' => 1, 'visible' => array( 'when' => array( array ( 0 => 'contact_post_4jdje2047jy', 1 => '!=', 2 => '', ), ), 'relation' => 'and', ), ),
That field is located within a group that can be cloned. std is only taken into account for the first dataset, not for clones. I'm on WordPress 5.3.3 with current Meta Box downloaded today.
Behaviour can be seen here: https://www.dropbox.com/s/90azf5usgoct216/metabox-radio.mp4?dl=0
- You must be logged in to reply to this topic.