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.
SOLVED

Designer Forms - Best design practice - borders vs. lines/rectangles

Avatar

Level 2

Is it better form design practice to use subform/field borders or lines/rectangles in forms.   To me, it is easier to use borders of fields/subforms.  Is there any videos or literature on this?

 

Thanks,

 

Andrew

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

 

in general lines and rectangles are fixed objects that you can place on your form, but there they are then. Size fixed, position relatively fixed (depending on where you place them - in a flowed subform it might move with the previous content).

 

If the line is part of the document and for example must be placed at a specific position (e.g. Masterpage) or if you have a signature box that really is just an empty rectangle at a position in the document flow, then you can use the line/rectangle objects.

 

The strategy changes when you want to surround areas on the document that contain other elements or are variable in size. Also, when you place field elements and you want to draw a box around the entry part, using lines is awkward and unnecessarily complex. This is where you would use the border property of the elements or the surrounding subform(s).

 

If you cannot see the border of a subform this may have the following reasons (that I can think of the top of my hat):

 

- the color is white (happened to me once accidentally - not very likely though )
- the subform is invisible or hidden
- another element higher in the rendering layers overlaps and "hides" your subform (also not very common)
- some scripting turns off borders
- in a flowed subform with borders, when there is no visible content to resize the subform you may only see a horizontal line
- you have set the visibility to "print only " and are looking at it in an interactive PDF (which is not considered print)

 

As @Mayank_Gandhi says - let us know what version of Designer and PDF you are using.

View solution in original post

7 Replies

Avatar

Level 2

Additionally, I have selected solid borders for subforms and I am seeing the subform borders are not appearing in the pdf.  They display in designer, but not in preview PDF or the pdf.  Is this a bug?

Avatar

Correct answer by
Employee

Hi,

 

in general lines and rectangles are fixed objects that you can place on your form, but there they are then. Size fixed, position relatively fixed (depending on where you place them - in a flowed subform it might move with the previous content).

 

If the line is part of the document and for example must be placed at a specific position (e.g. Masterpage) or if you have a signature box that really is just an empty rectangle at a position in the document flow, then you can use the line/rectangle objects.

 

The strategy changes when you want to surround areas on the document that contain other elements or are variable in size. Also, when you place field elements and you want to draw a box around the entry part, using lines is awkward and unnecessarily complex. This is where you would use the border property of the elements or the surrounding subform(s).

 

If you cannot see the border of a subform this may have the following reasons (that I can think of the top of my hat):

 

- the color is white (happened to me once accidentally - not very likely though )
- the subform is invisible or hidden
- another element higher in the rendering layers overlaps and "hides" your subform (also not very common)
- some scripting turns off borders
- in a flowed subform with borders, when there is no visible content to resize the subform you may only see a horizontal line
- you have set the visibility to "print only " and are looking at it in an interactive PDF (which is not considered print)

 

As @Mayank_Gandhi says - let us know what version of Designer and PDF you are using.

Avatar

Employee Advisor
@Kosta_Prokopiu1 Actually we have fixed a similar bug on one of the version that's why I am really interested to know if its the same version or some other.

Avatar

Employee Advisor
@BrownDesk123 please install latest designer fix it's a known issue with 6.5 and is fixed in 6.5.5.