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

Question

Question

Can you have two submit buttons?

asked on January 10, 2020

Good Morning All,


Was wondering if it is possible to have two submit like buttons on a public-facing form? I want to have one button for Submit and another one for Save as Draft - Both would trigger a workflow to write to our database. 

I am aware of the Save as Draft feature, but that does not get the data saved into our main database - just sits outside. We want the data to flow in and be accessed later on by another process.

 

Thanks in advance for your help!

0 0

Replies

replied on January 10, 2020

You can create your own button using HTML and CSS, but one thing you may want to think about is that once the initial form is submitted, only licensed users can gain access to the form again. There are things that can be done like putting all the form data into a database table and setting up the starting form to do a database lookup to recover the data based on a field value, but just something to think about.

1 0
replied on January 10, 2020

Have any code for me? Aware of the restriction of usage after submission. 

0 0
replied on January 10, 2020

Could you repurpose the Approve/Reject buttons to your purpose?  You can name the button something else and choose what happens in the process diagram when it is clicked.

0 0
replied on January 10, 2020

Is this an option on the starting form for a public user? 

0 0
replied on January 13, 2020

Sorry, I missed where you said this was for a public form, no that would only be for licensed users

0 0
replied on February 7, 2020

I wrote up a way to have as many buttons at any time on the form as you need. They also all allow you to set different paths in the process diagram allowing the starting form to take multiple routes right off the bat. Here is the link to the post: https://answers.laserfiche.com/questions/167540/Additional-Action-Buttons#167557

That should help you out. There are parts of it that require you to enter in your own values, but it works perfectly me for every form I've used it on.

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

Sign in to reply to this post.