Skip Navigation

[Resolved] Results while typing / search in 2 fields by only one letter

This support ticket is created 5 years, 7 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
- 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 4 replies, has 2 voices.

Last updated by Nigel 5 years, 7 months ago.

Assisted by: Nigel.

Author
Posts
#1240381
ScreenShot1.jpg

Hi,

1)
My site is now live.
It's no longer hidden link.
Now it's hidden link.

How can I change the Key?

2)
Please see this site:
hidden link

In the search box, the results are filtered while typing (ScreenShot1.jpg).
Can I do it with ToolSet ?

3) When pressing a letter for searching, the results are of every field that have the 1st letter the user pressed,
Can I do it with ToolSet ?
(hidden link)

Please advise,

Tnx,

Alon.

#1240461

Nigel
Supporter

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

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

Hi Alon

1. You can go to the My Sites page and unregister the staging site and register the live site, then update the key on the registration page for Toolset on your site.

https://toolset.com/account/sites/

2 & 3. The site appears to have a library such as select2 added to the search box.

There is no such option within Toolset itself, you would need to customise the search yourself.

You can't filter Views by standard fields (the post title is relevant in your case), so you would need to persist with the text search field, use a View to add a select dropdown populated by all of the post titles, use JS to replace the text input with this select input using the same input name, the instantiate select2 on that field, having previously enqueued the required select2 files, as described here: https://toolset.com/forums/topic/split-how-to-convert-a-normal-dropdown-to-a-select2-dropdown/#post-1207742

I can help you with individual parts of that if you get stuck, but I can't write the full solution for you, you would need to contact a developer if you are not able to try this yourself, e.g. toolset.com/contractors

#1240775

Thank you.

1. Can't find registration page for Toolset on my site.

2. OK.

3. I didn't understand if this is possible...

Best regards,

#1240779

Nigel
Supporter

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

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

Adding select2 to the search field should enable both 2 (search as you type) and 3 (match search text anywhere within the title not just the first letters).

#1240780

Nigel
Supporter

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

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

Sorry, for 1, you should be able to go to the list of plugins at Dashboard > Plugins and when hovering over Types (or any of the Toolset plugins) see a "Registered" link.

Clicking that link takes you to the custom installer page for Toolset (and WPML if used), from which you can update the site key.