Re-select current user's last selection in a dropdown *which uses separate values*.

By: Dick Wynne | Asked: 12/22/2025
ForumsCategory: How-toRe-select current user's last selection in a dropdown *which uses separate values*.
Dick Wynne asked 4 weeks ago

I'm restoring a search form's state when 'gone back to' after submission. I have it working for all field types except dropdowns with separate values. Any ideas? Or is there a more general way to restore a form's previous state? I haven't been able to find one. Thanks!

Victor Font
Staff replied 4 weeks ago

I use browser local storage. You can see how it works here: https://formidable-masterminds.com/developers-directory/. Toggle Data Persistence to Enable This works with any field..

Dick Wynne
replied 4 weeks ago

Many thanks Victor, useful to know as I'd like to let a visitor save their search preferences without resorting to cookies. I was actually trying to work around an inability to hit the back button to revise/resubmit a search without that pesky form resubmission message, but I seem to have cracked that now.

1 Answers
Dick Wynne answered 4 weeks ago

[frm-field-value field_id=<field_id>show="value" ip=1] -- works for single and multiple selections in the dropdown.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right