Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

How to Position a Signature Textfield on a specific spot

Avatar

Former Community Member

Hello,

I have build a delivery note which the Truck driver needs to sign manually.

I want to achieve that the signature Subform "Signature_SF" will be at a specific spot on the page.

--> For Example with X and Y coordinates or something else.

Or it should be at the bottom of the laste page, but the flowed data shouldnt run into it though.

--> Placed subform on the master page ?

My Form is Designed like this:

a) Master Pages:

I have Two Master Pages:

-Page First

-Page Next

b) Design View

I have Three Subforms which are alligned as Textflow (From Top to Bottom)

-Header_SF

-Main_SF

-Signature_SF

c) Signature

For the Truck-Drivers Signature I am not using the Signature Field I am using a normal Textfield, which is placed in the Subform "Signature_SF"

Thank you very much in advance

Best Regards

4 Replies

Avatar

Level 7

If the form is set to flowable, it should just push down the Signature subform as the form expands.

I always create my flowable forms in tables, it enables me to position objects where i want through the use of multiple tables with varying amounts of columns and rows. When the table about resizes, it pushes down the table below.

If you placed the subform on the last page's master page, that could work but if you have flowing objects above it might change which page is the last page when they expand. I have placed items in the master page before and adjusted the content area so flowable objects can actually flow past without overwriting the placed objects. Flowing would be a better option here.

Avatar

Former Community Member

Hi MinusZero,

Thank you for your Answer.

Could you please describe how you achieved this, it would help. Because this is what i want also for my Formular, except the Signature should stay on the last page.

Thanks

Avatar

Level 7

To adjust the Content Area, click it in the Hierarchy.

1396586_pastedImage_1.png

Click the pink outline and grab a handle to adjust its size.

On the Master Page i have placed my footer outside the Content Area. Any flowing content on the actual pages will flow to the next page and not over the footer i created on the master page.

1396587_pastedImage_2.png

Using Master pages, you can specify which is used when it flows, but the desired effect might not be what you are after

-------------------------------------------------------------------

Example: I have two masters and one page with a very long table in it (to force it to flow for testing)

1396588_pastedImage_3.png

Set Page one to Flowed

1396682_pastedImage_4.png

Change the pagination

1396683_pastedImage_5.png

What this will do is: Page one starts with the NormalPage master and then will move to the FooterPage master. However, in testing my table spanned a page and a half and it created a third page with the footer on it. Which is not ideal.

When the Place field is set to the Footer page, you can see below how the spanning table crosses pages but not over the footer

1396684_pastedImage_6.png

Avatar

Level 7

Just another idea to try to force a footer to stay at the bottom.

I was only able to make the footer stay on the flowed page by thinking about it a little differently. I have only done this with a single page document.

I build all of my flowed documents in tables, as many as needed with varying rows and columns as i need for 'positioning' my objects. I have of course used repeating rows in my tables with add and remove row buttons.

I wanted to have a footer but how to make it stay at the bottom? What i actually did is add an colourless table above my signature table but below my main table. One that is invisible on the document. It took a bit of messing around with the sizing of the rows and amount of rows but you will need to change that for your needs.

The basic premise is that when I add a row in the main table, the button also removes a row in the 'invisible' table. When i remove a row in the main table, a row is added in the 'invisible' table. As the 'invisible' table is between the main table and the signature table, the effect is that the signature table does not move.

You need to limit the max rows for the main and 'invisible' table. If you dont, you can just keep adding and the signature table will move down.

You can see the 'invisible' table in my example below just for tutorial purposes.

1396685_pastedImage_1.png