Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7841985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:13:05+00:00 2026-06-02T16:13:05+00:00

We are using the InputBox extension. We want to have a search function using

  • 0

We are using the InputBox extension. We want to have a search function using two checkboxes like this:

Search

So, a user can select neither, one or both checkboxes which refer to specific text on the page. That is, if the user selects “Platform 1.0” the search will return pages with “Platform 1.0” on the page. (Actually: they will return pages using a specific semantic property which results in text on the page.)

So we want a way to search for the platform text and the text entered in the search box.

We’ve tried:

  • putting these pages into categories, but we did this using templates (categories in the templates) which does not make them searchable using incategory.
  • writing new PHP code for InputBox using the namespaces / prefix code, but these both use specific words in the search API, apparently. We can’t add specific words to e.g. the search URL.
  • using Semantic’s search by property, but we can’t add custom text (entered by the user) to that query.

Ideas very welcome!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:13:06+00:00Added an answer on June 2, 2026 at 4:13 pm

    Tough one, you could try utilizing JavaScript to add a keyword you want when each of the checkboxes is selected. Something like so: (jQuery is used for comfort, but normal JS can be used as well if not an option):

    $("#search").submit(function(e) {
        var search_value = $('input[type="text"]', this).val();
        if ($("#checkbox1").checked) { search_value = "SomeValue " + search_value; }
        if ($("#checkbox2").checked) { search_value = "SomeOtherValue " + search_value; }
    
        $('#search input[type="text"]').val(search_value);
        $(this).submit();
        e.preventDefault();
    });
    

    Note, should the user disable JavaScript for some reason, your functionality will be damaged, which is always a bad practice. Only use this in case you’ve really extracted all other possibilities.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using an inputbox the get a number from a user. I want
I want to extract a value from my hidden inputbox, by using javascript, but
I have a date in this string format 02/28/2012 and I want to convert
I'm using the InputBox from the VB .dll. When I display it, I want
I want to get user input using a pop-up dialog box. I am able
I am using this code to check if an inputbox is empty or not
I'm using a script to return what the user types on an inputbox without
I want the user to input the last filled cell number through an InputBox
I'm using Joomla jQuery Registration extension which comes without any kind of botcheck feature
I'm trying to set up a simple login using AuthLogic into my User table.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.