We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15022
    • 31 Posts
    Please excuse me if this is an obvious/easy task.

    My website has 3 sets of resources:
    1) categories - which is a container for the category names and some descriptive information about each one
    2) criteria - specific criteria that use a TV called "category" which is filled by the page ID of one of the categories resources
    3) website content resources - these are the pages that I need to search. Right now they have a TV called "criteria" that stores the page IDs selected from the list of criteria

    What I’m trying to do:
    Limit the search to only some of the "criteria" TVs by using a checkbox list. Client does not want a search box. I did see the posting about searching by category and I’m going to look into that now.

    I need to have lots of flexibility in the design and I can output the checkbox list using Ditto. I need help with passing those results (once the user checks boxes on the form) to AjaxSearch. Should my Ditto-generated form have an action that calls AjaxSearch? What would that look like?

    I apologize if this is a simple question. I’m not a coder but trying to learn. I cannot show you the site as it is client confidential. Any tips are greatly appreciated. Thank you!

    (on Evo 1.0.3 and AjaxSearch 1.8.4.. about to upgrade both)

    format of Ditto template, page ID is what I’d like to pass to AjaxSearch
    <label><input type="checkbox" class="checkbox" name="[+category+]" value="[+id+]" /> [+pagetitle+]</label>
      illegitimati non carborundum
      • 15022
      • 31 Posts
      I realized that I actually don’t need to use AjaxSearch for this since I’m not really "searching" more like filtering. I know how to write the Ditto calls for both the form generation but I don’t know how to send the results from one to the other.

      I think this post should get moved to the Ditto board. Sorry everyone!
        illegitimati non carborundum