but now the dropdown menus no longer contain the entries from the CSV file, but only the text “No results found”
it’s possible there is an issue on v4.10…are you using a filter to populate your dynamic dropdonw?
Hello,
thanks for the quick response 🙂
Yes, I am using a filter: You can find its code here:
https://wordpress.org/support/topic/fill-dynamic-dropdown-with-data-from-csv-file/
ah yes, this filter has been deprecated for a new one.
In v4.10 I made the mistake of not handling the deprecated filter properly in the back-end. This should be fixed in the next version 4.11 that is about to be released. Can you manually upgrade to v4.11 beta using this file and see if it works for you?
Can you manually upgrade to v4.11 beta using this file and see if it works for you?
Sure, I can try this; what is the best way to do the manual upgrade? The only option I see via the WP backend would be to use “add new” at the plugins page. But will that overwrite the current version? Or shall I just copy the contents of the ZIP file via FTP?
What do you suggest?
Hi Aurovrata,
I installed the plugin beta (had to deactivate 4.10 and then activate the beta).
Afterwards I opened the form, but it still shows “Results not found”. I also opened the form in the backend and clicked “Update” to save it, but it didn’t help.
What else can I do to get it to run? Did I miss something?
You wrote that the filter I use is deprecated now. Shall I adapt the code use a different filter?
Afterwards I opened the form, but it still shows “Results not found”. I also opened the form in the backend and clicked “Update” to save it, but it didn’t help.
Ok, i just tested it and realised there was still a bug preventing it from being fully backward compatible. I fixed this in v4.11 beta 3
can you please try it again?
You wrote that the filter I use is deprecated now. Shall I adapt the code use a different filter?
sure that’s also possible
can you please try it again?
With beta3 it is working again 🙂
Is it okay to use the old, deprecated filter? Will it continue to work? Or shall I use a different filter in the future? Is the new one documented somewhere?
With beta3 it is working again
great, so keep using beta3 for now, and upgrade to 4.11 when it releases.
Is it okay to use the old, deprecated filter? Will it continue to work?
yes.
Or shall I use a different filter in the future? Is the new one documented somewhere?
I would recommend you use the new one if you create a new form in the future.
When you create a new filtered dynamic field, the helper code you copy from the link will be updated to reflect the new structure.