Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to save advanced search fields?

This topic contains 3 replies, has 2 voices, and was last updated by  Anna 2 years, 12 months ago.

  • Author
    Posts
  • #99985

    blue928
    Participant

    After a user clicks “Search Properties” from the advanced search hover map, they are taken to their search results. But, their field values are then empty. How can these be saved? Currently it’s very inconvenient for users so far to want to tweak their search for better results but have to type all the fields in again. Since this is loading a new page, couldn’t these be stored as PHP SESSION values?

    Thanks!

    Blue

  • #100013

    Anna
    Keymaster

    Hi Blue,

    Thank you for your suggestion. This would be a hard change.
    With AJAX search on map people can change easily the search parameters and see results in page.

    Thank you,
    Anna

  • #100091

    blue928
    Participant

    It’s true that it works great dynamically. It’s only when people push the “Search” box on the right that users have expressed it’s a little inconvenient to have to fill in the 8 boxes again.

    Could you tell me what files are responsible for the form’s template and functionality? I don’t mind getting my hands dirty with php and javascript.

    Thanks!

    Blue

  • #100222

    Anna
    Keymaster

    Hi,
    You need to intercept the POST variables and then fill the input text value. If they are for dropdowns you
    check inside dropdown creation and when equal add the select tag.

    Thanks

You must be logged in to reply to this topic.