Forum Replies Created
-
AuthorPosts
-
Yasmine
ParticipantI think it is something to do with my own settings. I disabled code in my functions.php and working again, sorry for the unneeded ticket
April 25, 2024 at 12:46 AM in reply to: ✅post type with select_advanced broken in latest version - works in previous one #45300Yasmine
ParticipantSomething to do with user roles.. will start another ticket
April 25, 2024 at 12:33 AM in reply to: ✅post type with select_advanced broken in latest version - works in previous one #45299Yasmine
ParticipantAnyone fix this? Stefan, I have the same
Yasmine
ParticipantI ask because I can save posts as an administrator, but I cannot when logged in with the following permissions:
create_posts
edit_posts
edit_private_posts
edit_published_posts
publish_posts
read
read_form
read_private_pages
read_private_posts
read_submission
upload_filesYasmine
ParticipantIncredible! Didn't spot that, thanks
Yasmine
ParticipantThank you for your reply!
I just tried to input it via a shortcode and it worked - so something to do with the bricks builder editor. Thank you!
Yasmine
ParticipantThanks Peter - any updates?
Yasmine
ParticipantAnd forgot to mention, before I tried with the hidden, I tried with
'visible' => [ 'when' => [ ['academicoutput', 'in', [9212, 13304]], ['current_selection', '=', 'ref_p13-2'], ], 'relation' => 'and', ],But maybe it doesn't work as the current_selection field updated with js on button click?
Yasmine
ParticipantAnd just double checking - you cannot add tabs within a group field type? I am forced to use classes to manage visibility which I think why there is problematic CSS being applied
Yasmine
ParticipantAh they were actually conditions in a separate field group. Because I toggle it from the admin editor, whereas other fields are from the form - but both have same CPT location. Was that the reason? Do I need to create a hidden field with their value on the form?
Yasmine
ParticipantEvery time I finally give up and reach out for support, after sending the support ticket I instantly figure it out. It was because of this - post_id="current"- in the shortcode, right?
I was wanting to use the same form to create new and for editing posts later. Is that not possible?
Yasmine
Participantcheckbox_tree Hierarchical list of checkboxes which allows to select multiple items (select/deselect parent item will show/hide child items). Applied only when the taxonomy is hierarchical (like category).
Yasmine
ParticipantHi - this was never fixed. My checkbox tree with code:
[ 'name' => __( 'Country focus', 'your-text-domain' ), 'id' => $prefix . 'academiccountry_focus', 'type' => 'taxonomy', 'taxonomy' => ['country-tags'], 'field_type' => 'checkbox_tree', 'multiple' => true, 'flatten' => false, 'query_args' => [ 'orderby' => 'menu_order', 'order' => 'ASC', 'child_of' => 10152, ],Shows all the values. Not just the first parent. I want only the parent values to show, and when they are clicked then for its children to show
Yasmine
ParticipantHi,
Yes I have
'required' => true,across many fields.Understand you do not support a second button, but it is just a submit button and when it submits the validation does not work. I don't think there is anything in my button that is causing this
Yasmine
ParticipantHi Peter,
Thanks for the suggestion. But I would like the parents listed and when selected the children to show. Select_tree gives you two input boxes, and does not list, and this is not what I want.
In the documentation for both select / checkbox tree it says "When users select a parent item, it will show children item." - this is what I want but it is not happening.
I saw in other help threads that others were using checkbox tree and none of the children were showing. It was discussed that there could be an option to choose between showing / hiding children terms. I want the children terms hidden, but could it be that you made a change because of these discussions and changed it around?
Thanks,
Yasmine -
AuthorPosts