Skip to Content Skip to Menu

Search Module

  • 100mile
  • 100mile
  • OFFLINE
  • Posts: 70
  • Thanks: 9
  • Karma: 2
11 months 1 week ago - 11 months 1 week ago #336237 by 100mile
Replied by 100mile on topic Search Module
Thank you for the clarification.
This is the code I end up with.  But, when I use this Search Module it only brings me to the Members List.
What am I doing wrong?
Code:
<form action="https://realeasyhub.com/index.php/members" method="post">     <input name="listid" type="hidden" value="5">     <input type="text" value="">     <button type="submit">Search</button> </form>

Is this how I enter the userlist number,
Code:
<input name="listid" type="hidden" value="5">
Last edit: 11 months 1 week ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
11 months 1 week ago #336239 by krileon
Replied by krileon on topic Search Module
Your form isn't searching anything. Please read my example carefully where it's searching the Name field. Sorry, we do not provide coding assistance outside of Business memberships and have already provided a simple example. If you need further coding help consider a Business membership or consulting with a freelancer to write the HTML for you.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • 100mile
  • 100mile
  • OFFLINE
  • Posts: 70
  • Thanks: 9
  • Karma: 2
11 months 1 week ago #336241 by 100mile
Replied by 100mile on topic Search Module
I believe I followed your instructions precisely.  I guess I use a different language, sorry for my ignorance.
Is this correct?
input name="listid" type="hidden" value="5"

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
11 months 1 week ago #336251 by krileon
Replied by krileon on topic Search Module
If your userlist has an id of 5 yes that's correct, but you need to include an input that actually searches something. Example as follows would search the Name field of the userlist with an ID of 5.
Code:
<form action="USERLIST_URL_HERE" method="post"> <input type="hidden" name="listid" value="5"> <input type="text" name="name" value="" /> <button type="submit">Search</button> </form>

Notice the name text input. This is what's causing it to search the name field.
Code:
<input type="text" name="name" value="" />

Sorry, there's nothing more I can suggest. This is a fully working and tested working example. I cannot help you any further with custom coding needs.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum