web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : lxm+Fm2840X3mDRWb/c8t6
Power Pages - General Discussions
Answered

Redirect if multi step form already submitted this year

Like (0) ShareShare
ReportReport
Posted on 2 Oct 2023 14:25:01 by 19

Hello everyone!

 

I've got a multi-step form in place for gathering user responses, and it's functioning smoothly. Now, I'd like to check if a user has already submitted the form within a specific year. If they have, I want to redirect them to the results page.

 

Does anyone of you built something like that? If yes, how have you done it?

 

Any help would be appreciated,

 

Thanks!

Categories:
  • mateusz_pateam Profile Picture
    19 on 03 Oct 2023 at 15:03:27
    Re: Redirect if multi step form already submitted this year

    Thanks Fubar, that was precisely what I was asking for!

  • Verified answer
    Fubar Profile Picture
    8,045 Super User 2025 Season 2 on 02 Oct 2023 at 22:09:19
    Re: Redirect if multi step form already submitted this year

    Run a fetchxml query in Liquid and based on its results (Liquid if) load the form or have a script tag with redirect to the other page.

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/template-tags#fetchxml

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/liquid-conditional-operators

    https://learn.microsoft.com/en-us/power-pages/configure/liquid/dataverse-liquid-tags#webform

    (webform is the multistep form)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Loading complete