Forum Replies Created
-
AuthorPosts
-
Yasmine
ParticipantHello it is only on the front end version of the form, not via admin!
With 2: https://ibb.co/cXFkt1Ts
With 3: https://ibb.co/nhbyyNFAcross all the frontend. I have tried disabling plugins!
Yasmine
ParticipantOk I found that I needed to make
'hidden' => [true],an array!December 28, 2024 at 4:12 AM in reply to: When did ['post_id'] became ['object_id'] in the $config?? #47247Yasmine
ParticipantPS - I will be very happy if you tell me it did not change, and it was me that had somehow changed this code!
Yasmine
ParticipantI also didn't read what you needed properly and thought you wanted to see how to structure / dynamically get filter by post_author. Ignore me!
Yasmine
ParticipantHi - I came on here to see if you had issues with select_advanced search on a post field.
I filter by taxonomy on mine (so need to change to meta_key / meta_value), but incase it is helpful for structure, I use this:
'query_args' => [ 'post_status' => 'publish', 'tax_query' => [ [ 'taxonomy' => 'institution-category', 'field' => 'term_id', 'terms' => $filterterms, ], ], ],Yasmine
ParticipantAnd in my message before, I was talking about
'js_options' => [ 'minimumInputLength' => 1, ],stopping all the posts from loading entirely but only when
'type' => 'post',. Otherwise on other select_advanced fields it worksYasmine
ParticipantOk - but it did used to work! The AJAX has also stopped working too - also works on my other select_advanced fields, just not the post.
Here is an example:
$field = [ 'name' => __('Organisation', 'your-text-domain'), 'id' => 'select_an_org', 'type' => 'post', 'post_type' => ['organisation'], 'field_type' => 'select_advanced', // 'placeholder' => $placeholder, // 'aria-label' => __( 'Select '.$orglabel, 'your-text-domain' ), /* 'query_args' => [ 'post_status' => 'publish', // 'posts_per_page' => 5, 'tax_query' => [ [ 'taxonomy' => 'institution-category', 'field' => 'term_id', 'terms' => $filterterms, ], ], ],*/ 'ajax' => true, // 'clone' => true, // 'max_clone' => 4, ];I disabled plugins and have tested without any of the commented out extras and still not working
Yasmine
ParticipantAnd there was a setting within Perfmatters to disable google maps... all fixed!
Yasmine
ParticipantI did have custom JS, which I tested, then returned back to checking the plugins and I think something went wrong in my initial check (perhaps forgot to clear cookies or cache) as it is something in the perfmatters plugin! Thanks!
October 17, 2024 at 12:07 AM in reply to: ✅Can no longer reference group number in group_title #46708Yasmine
ParticipantThank you. Cache wasn't clearing it. But then it suddenly started working again. Perhaps I had some dodgy js that was interfering
Yasmine
ParticipantI will temporarily remove my CSS and eagerly await the next update. Thank you!
Yasmine
ParticipantMy issue is that I have styled each radio with CSS - https://imgur.com/xS7FmeE
Which works when its the first clone (can see in last screenshot) and for each subsequent clone, until one has been deleted. The issue only starts when one clone is deleted and for all the subsequent clones after the index changed. Eg - here I am trying to click "Applied research", but it clicks the last - https://imgur.com/nUEQkop
So clicking on the radio circle is not possible as a solution for me. I think it is an issue with the index changing? Will there be a fix?
Yasmine
ParticipantIn mine there are a lot of different fields, it is long with conditional formatting. Which all works on the first group, or if you add additional groups without deleting to 0
Yasmine
ParticipantYes I figured that out, just not ideal for frontend forms. And I can make the changes to js based on DOM rather than index. Thanks
September 27, 2024 at 10:43 PM in reply to: ✅Can no longer reference group number in group_title #46554Yasmine
Participant'collapsible' => true,
no longer works either -
AuthorPosts