How can I filter entries by a session id?

By: Jiyoung Joung | Asked: 11/15/2023
ForumsCategory: General questionsHow can I filter entries by a session id?
Jiyoung Joung asked 1 year ago
I want our users(including logged-out) to edit their entries which they made. But there's no explanation about that in formidable forms official site. How can I know the session id from entries?
2 Answers
Rob LeVineRob LeVine answered 1 year ago
Create a view and filter by the current user. https://formidableforms.com/knowledgebase/filtering-entries/
Jiyoung Joung replied 1 year ago

<p>You mean this section(<a href="https://formidableforms.com/knowledgebase/filtering-entries/#kb-by-current-user">Filtering Entries - Formidable Forms</a>). Can it filter logged-out users by sessions?</p>

Rob LeVineRob LeVine answered 1 year ago
I guess I don't know what you mean by "session". Can you explain your complete use case?
Jiyoung Joung replied 1 year ago

It is like an e-commerce cart system. When logged-out users select the items by submitting a form, the entry is created and users can see what they selected in their cart page, without login, even.

But it seems that formidable forms system can't save the session, so the entries which logged-out users made can't be distinguished.

Rob LeVineRob LeVine replied 1 year ago

That's an interesting case. You are correct that if you don't require the user to enter a piece of data that can be used to filter later on, then the data is kinda dead. Do you ask the user for their email address as one of the inputs? If so, you could filter on that.

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