0

How do I show a users submitted entry using Freeform entries? For example I need to show an immediate response to a users form submission on a return page. ie:

            {exp:freeform:entries
                form_name="apply"
                orderby="entry_date" 
                sort="desc"
                limit="1"
                status="pending" 
            }

               {if '{freeform:field:age-range}'=="Yes" AND '{freeform:field:health}'=="Yes"}Your'e OK{if:else} You're not OK{/if}<br />


            {/exp:freeform:entries}
1

In your FreeForm form tag, you need to set your return parameter to include the entry_id that gets created when the form is submitted:

{exp:freeform:form return="form-success/%%entry_id%%" form_id="1"}
    Form stuff here!
{/exp:freeform:form}

And then on your success page, you just grab the entry_id from whatever segment it ends up as:

{exp:freeform:entries entry_id="{segment_2}" form_id="1"}
    Form output here!
{/exp:freeform:entries}
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.