Forums Forums Search & Filter Pro Linking SF fields to images/icons etc..

Viewing 9 posts - 1 through 9 (of 9 total)
  • Anonymous
    #39256

    Hello,

    I am trying to have an image/button/icon trigger a search result (just like the checkbox does).

    I have done this succesfully just using the link, but it loads the page rather then using AJAX like the rest of the system does.

    Please help me achieve this.

    thanks

    Ross Moderator
    #39636

    Hi Amy

    How are you trying to do this? Are you just creating regular hyperlinks which you would like to be loaded with Ajax?

    Thanks

    Anonymous
    #40087

    Yes! that is exactly what I am trying to do. Please help!

    Trevor
    #40109

    Hi Amy

    What you want can be done, in a different way. Instead of creating hyperlinks, you need to create buttons, and these would need to update a hidden (with css) search field and then trigger the form to submit, which would cause the ajax to refresh the results. That somewhat depends on coding skills of course. The js would be fairly simple.

    Anonymous
    #40420

    ok that makes sense. Where would I need to look to see examples on the JS part?

    To give you a better Idea…. I have a row of 7 icon boxes that I want to trigger different results for. Would each button need to have a SF form (hidden), or just one form for the row?

    Trevor
    #40421

    It rather depends what the search is. For example, let us say I was searching categories for a post type, each button representing a different category, then there is only one search field; category, and all you are doing is setting one field in a single form. It might be easier to discuss this, if you are OK with speaking English, over skype. I will send a second message marked as private with my details.

    Trevor
    #40422
    This reply has been marked as private.
    Anonymous
    #44006

    Hello,

    Sorry I’ve been away for a bit. I would still like to resolve this issue I am having. Is it still ok to contact you via skype to maybe discuss a resolution?

    Thanks in advance!

    Trevor
    #44009

    Yes.

Viewing 9 posts - 1 through 9 (of 9 total)