-
Author
-
June 4, 2017 at 19:25 #163361sludger67Participant
Is there a way of triggering a search by pressing the return key after entering a text field?
So, for example, if a user types a name in a member search field then presses return, the form will search, rather than having to click submit?
This is a client request and I think it is a usability issue – if I’m correct in thinking, one of his member associates uses speech to text software because he is unable to use a mouse due to his medical condition.
I contacted dontdream.it, the BP Search plugin creators, but they said that Kleo has its own custom BP Profile Search form templates, so I should turn to you for advice.
Any advice would be gratefully received, thanks.
Best,
Paul
June 6, 2017 at 01:53 #163486LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 6, 2017 at 02:16 #163492sludger67ParticipantSorry, one other thing I forgot to add. The form has four text input fields. I’m aware that when only one of these is present (i.e. a basic search, rather than advanced), the return/enter keystroke works as the trigger for the search to take place.
Unfortunately, I need it to work if a user inputs text into any of the four text fields.
Again, thanks for any help you can over, it’s much appreciated.
June 8, 2017 at 17:27 #163736RaduModeratorHi,
Using FTP please go to wp-content/themes/kleo-child/buddypress/members/
Create a file named bps-form-legacy.php in that you will paste this file content: https://pastebin.com/raw/NSFyj3xn
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
The form template should be legacy
NOTE: Child theme needs to be installed and activated.
That’ all you can press enter key and the button will be triggered
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 10, 2017 at 17:03 #163922sludger67ParticipantThat’s fantastic – it’s working a treat! Thank you very much for this excellent piece of support.
June 13, 2017 at 16:01 #164160RaduModeratorYou’re welcome
If you are pleased with the support service please very much to leave a short review … few words about your experience with the support service.
https://themeforest.net/item/kleo-next-level-wordpress-theme/reviews/6776630
Thank you in advance
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.