Forums Forums Search & Filter Pro SFP doesn't load search results page from a bootstrap modal window

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Trevor
    #77739

    I am inspecting the form on the modal and its container is this:

    <form role="search" lpformnum="24">

    Using the search at the top of the page, the resulting url, which looks right, is:

    http://uvmmc-hl.partisanpixel.com/search/?_sf_s=Vermont
    

    But the modal form gives this:

    http://uvmmc-hl.partisanpixel.com/?_sf_search%5B0%5D=vermont&_sf_submit=Search
    

    Which is not right.

    Anonymous
    #77759

    Hi Trevor,
    the modal is not correct. You don’t see any results, it simply appends the URL of the existing page.

    Michael

    Trevor
    #77770

    Yes, but if I inspect the page with the modal open, and look at the HTML for the modal, I do not see our form there?

    Anonymous
    #77776

    I see it in the source code. Here’s the modal section of view source. Doesn’t the SFP form start on line 17?

    http://pastebin.com/v2jRufE4

    Trevor
    #77782

    No, the form starts on line 15. But it isn’t an s&F form. The elements are copies of what would be in an S&F form, but without the wrapper and then being activated as an S&F form, it will not work as one.

    Anonymous
    #77802

    head in hands

    I forgot to strip out the placeholder <form> tags that surround the shortcode. Thanks for the help Trevor.

    Trevor
    #77812

    Is this resolved and can I close the thread?

    Anonymous
    #77823

    Yes, thanks.

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