Skip Navigation

[Resolved] Option "using existing custom field values" in WordPress Archive page search form

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 7 replies, has 2 voices.

Last updated by Luo Yang 3 years ago.

Assisted by: Luo Yang.

Author
Posts
#2156739

I am following up to this ticket with another issue that is persisting as well.
When I add a custom field search parameter on the archive page it never saves any of the custom values. It only works when it is set to "using existing custom field values".

Here is a video of it in action as well.
hidden link

Thank You

#2156755

Hello,

I can duplicate the same problem in my localhost, and I see below JS error after add an option in the dropdown field of custom search form:

Uncaught TypeError: c[e].replace is not a function

Can you confirm it is the same problem in your website? thanks

#2157223

Yes, this is the same error I am seeing too.

#2157801

Thanks for the confirmation, I have escalated this issue, will update here if there is anything news, currently, you can use classic editor to setup the post view, for example:
Dashboard-> Toolset-> Settings-> General
In section "Editing experience", enable option "Show both the legacy and Blocks interface and let me choose which to use for each item I build".
Dashboard-> Toolset-> Views, setup the post view with classic editor, and test again.

#2158597

To be clear... for both tickets you are telling me I have to start all over again and build using the classic editor to get the plugin to work properly?

#2159069

To be clear, that is only a temporary workaround, and it has been escalated to our developers, you can also wait for the fix.

#2159099

And there is another workaround without breaking your existed design.

You can try to setup the search field manually with shortcode [wpv-control-postmeta], and setup the URL parameter and options, see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-control-postmeta

And add a field filter into the WordPress Archive on the URL parameter of above search field:
https://toolset.com/documentation/user-guides/views/filtering-views-by-custom-fields/
section "Source for compare value":
URL parameter
The value for the filter is set in the URL to the page

#2374397

Hi,

I wanted to let you know that we published plugin updates today that includes a fix for this issue.

If the updates do not show up on your plugin installer page (click the registered link beneath the plugin name to go to the custom installer page) click the Check for Updates button to update the list.

Or you can download the latest versions from your accounts page: https://toolset.com/account/downloads

Thank you.