Search Module

4 months 3 weeks ago - 4 months 3 weeks 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?
<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,
<input name="listid" type="hidden" value="5">

Please Log in to join the conversation.

4 months 3 weeks 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 to join the conversation.

4 months 3 weeks 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 to join the conversation.

4 months 3 weeks 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.
<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.
<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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.368 seconds