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

Question

Question

Hiding fields on stored forms?

asked on February 5, 2015

Hi,

I have a need to hide a field when the form stores to Laserfiche.  Is there an easy way to do this with CSS?  I know you can force page-breaks with CSS, but I haven't been able to hide fields.

These fields are used throughout the process, but should not be on the finished form.

Thanks!

0 0

Replies

replied on February 5, 2015

You can just create a second form with the fields you want to have on the stored form and then in your save to Laserfiche activity, tell it to store that form.

0 0
replied on February 6, 2015

Unfortunately, due to the complexity of the form, this option will not work for us.  There's a system of authentication codes and custom javascript that will not make this viable without a lot of re-work.

0 0
replied on February 6, 2015
dontshow {display: none}

You could also create a CSS class and assign to the fields you don't want to show. We use the following:

 

replied on February 5, 2015

You can make a copy of the form (which retains the values from the original) and hide the field outright on that copy. Then in your "Save to Repository" service task, save the copied form.

replied on February 9, 2015

Hey Eric, 

You mentioned specifically if there is a method using CSS, however I can offer an out of the box method for you.

The idea is to use a Checkbox field (for example we could name it "Hide Field"), and set a Field Rule up so when this Checkbox field is Checked, we will hide the field. When the Form is submitted, the field will not appear on the Form.

This offers users the option to hide the field before submitting the Form and having it Save to Laserfiche.

If you are looking for a fully automated solution, you could look at doing something very similar, but having Javascript check the box for us when the necessary conditions are met (for example when all necessary fields are filled). If you can get this to work, then you can also look at hiding the Checkbox field so that this method is automated only, by configuring a Field Rule to Show this Checkbox under an impossible condition (my preference is having a Form Submitter field Read-Only and filled by default, which will never be empty).

As a final point, all field values are stored as variables within the Forms instance details, no matter if the value is hidden or not.

I hope that this has been helpful!

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

Sign in to reply to this post.