Skip Navigation

[Resolved] CRED parent field has changed to a search populated field from a select dropdown

This support ticket is created 7 years 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 5 replies, has 2 voices.

Last updated by nickH-5 6 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#589822
cred form dropdown.png

I am using

[cred_field field='_wpcf_belongs_show_id' value='' order='title' ordering='asc' select_text='--- not set ---' class='form-control' output='bootstrap']

To create a field in a CRED form for the user to pick the parent "show".

This I am pretty sure used to show a dropdown which the user could scroll through but now it asks the user to enter two letters and search.

I'd prefer the search were it not for the fact that it seems not to work well (see attached screenshot using the input letters "ver" which returns a lot of results which do not contain "ver" in the parent post title (though it may or may not be in the parent post body).

Am I doing something wrong?

#589835

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nick

The parent selector was recently changed so that when there are a lot of parent posts to choose from (specifically, more than 16), you will get the search field that you now see.

I tested this just now and confirm that, rather than just searching the post title of the parents, it is including the post body in the search, too, thereby failing to narrow-down the list as required.

I've reported this to our developers and am escalating this thread.

I'll update you here as soon as I hear back from them.

#589878

Thanks a lot for the rapid response

#604731

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nick

In case you haven't updated already, yesterday's CRED release fixes the issue where the post body was being included in the search for parent posts.

Also, note that if you don't like the select2 input you can disable it for the parent post selector altogether by adding the shortcode attribute use_select2="never" to the cred_field in question.

#605166

Thank you. I really appreciate the update. Great service!

#614650

I have upgraded to the latest release but as far as I can tell, the behaviour has not changed and the post body and title are being included in the search