Keep values selected after form submission

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Keep values selected after form submission

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

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #27179
    pinpin052871
    pinpin052871
    Participant

    Hi,

    On submitting the form, how do I make sure that the selected values remain selected in the dropdowns?

    Thank You !

    #27195
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    If both forms have the same ID (same search instance), then it should work automatically. For different search instances unfortuantely this is not possible.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27206
    pinpin052871
    pinpin052871
    Participant

    Hi,

    Thank you for your quick response.
    Both forms have the same ID. But the selected values can’t remain selected.
    What should I confirm?

    Sincerely,

    Attachments:
    You must be logged in to view attached files.
    #27215
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I run a few tests on our test enviromnent, but it works correctly. It is very likely an unknown issue then. Can you please share a URL where I can test this, as well as temporary FTP and back-end access, so I can debug the problem. Thank you!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27257
    pinpin052871
    pinpin052871
    Participant
    You cannot access this content.
    #27268
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27280
    pinpin052871
    pinpin052871
    Participant
    You cannot access this content.
    #27284
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27310
    pinpin052871
    pinpin052871
    Participant
    You cannot access this content.
    #27319
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Oh okay, but wait, that is not possible I’m afraid. Clicking on a result is a page redirection, and not a form submit. Submitting happens when you hit enter on the input or click the magnifier icon – but clicking on a result will redirect to the individual, single result page.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27350
    pinpin052871
    pinpin052871
    Participant

    Oh, OK. You mean that clicking on a result isn’t a form submit. Sorry, I was confused.
    However, don’t you think that users often click on a result? I think users will be in trouble if the settings are reset each time.

    Sincerely,

    #27366
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Of course they do, but clicking on a result takes you to the result, not to the search submission page. Usually result pages does not contain a search bar, so this haven’t come up until now as a request.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27405
    pinpin052871
    pinpin052871
    Participant

    Hi,

    That’s unfortunate. I will try to keep the settings by using session in JavaScript.
    If it’s alright with you, I’d like to improve it in future updates.
    I am grateful for what you did for me.

    Sincerely,

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

You must be logged in to reply to this topic.