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

Question

Question

Is there a way to enter a unique footer in Laserfiche Forms

asked on October 28, 2014

We use Forms for varies items. some get printed and scanned back in with a bundle, and processed through Quickfields for filing (YES, i know this is not the most efficient way).

 

I would like to be able to put a version and/or a unique identifier in the footer of a form for Quickfields to be able to quickly identifiy the form as a start of a new packet.

0 0

Answer

SELECTED ANSWER
replied on October 28, 2014

The closest thing I know of would be to use javascript to insert some sort of text or Footer tag, and to use CSS to give it a fixed position at the bottom. Depending on your layout, you may have issues with the footer text appearing on top of some other elements on your form, so this isn't a very elegant solution. It should print the text in a fixed location on every page in the print job.

Try something like this:

$(document).ready( function () {
  $('<footer style="position: fixed; bottom: 0"><p>YOUR TEXT HERE</p></footer>').insertAfter($('.cf-formwrap'));
});

 

3 0

Replies

replied on October 28, 2014 Show version history

Would the footer change between submissions? Or would it be constant for a given Form? 

 

If constant you could use a Custom HTML field at the bottom of the Form to display text/a footer.

0 0
replied on October 28, 2014

It would be constant on each form. The problem with trying to use Custom HTML is the form that i truly need this on is an invoice, they can add multiple lines. So the custon HTML section i would put could move depending on how big the project is. 

 

I would truly love somthing where it is like the logo and header except in the bottom corner.

0 0
replied on October 28, 2014 Show version history

Could you put the HTML "footer" near the top of the form, where it wouldn't be moved by a variable number of line items?

 

Otherwise, Scott's suggestion for fixing an element's location via CSS would be a good bet.

1 0
replied on October 28, 2014

The Java script worked, What is the CSS code to fix it's position?

0 0
replied on October 29, 2014

That code above should do both. The CSS is "inline" by setting the style attribute of the footer tag.

1 0
replied on July 25, 2018 Show version history

Any chance I can use a variables, like Document Number and Revision? Tried this, but it didn't work.

$(document).ready( function () {

//Set footer to show Doc Number and Revision
  $('<footer style="position: fixed; bottom: 0"><p>LR-{/dataset/documentNo}-{/dataset/revision}</p></footer>').insertAfter($('.cf-formwrap'));

});

I tried setting them as variables, but no luck with that either.

 

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

Sign in to reply to this post.