You are viewing limited content. For full access, please sign in.

Question

Question

Display a new form after successful submit

asked on November 30, 2015 Show version history

I am finishing up my first form.  When the user submits it, a Thank You page is displayed.  After the Thank You, I need it to immediately display a new, blank form (the same laserfiche form, just a new, blank copy) so the user can enter a new instance.  Is there an easy way to accomplish this?  Thank you

0 0

Answer

APPROVED ANSWER
replied on November 30, 2015

In the properties of the Start Event you can have it redirect to the form's direct URL, instead of showing the Thank You message.

1 0

Replies

replied on November 30, 2015 Show version history

You can have your cake and eat it too! Under the "Thank you Message", click the "HTML" text in the editor to show you the actual html. Copy this script and change the "[name of the published form]" to what you named your form:

<script type="text/javascript">if ($('#submission-header').length) setTimeout(function() { location.href=location.protocol + '//'+location.host+'/Forms/'+'[name of published form]'; },5000);</script>

After 5 seconds (you can also change this), the form will reload ready to go again.

3 0
replied on December 1, 2015

Chris, I really like this solution. Nicely done.

0 0
replied on December 1, 2015

Thank you Tom!

replied on November 30, 2015

Thank you.  That was exactly what I was looking for smiley

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.