AnsweredAssumed Answered

Printing web viewer error in FM17

Question asked by suspiciousalex on Aug 30, 2018
Latest reply on Aug 31, 2018 by suspiciousalex

Hi everyone,

I have a web viewer field that shows a list of notes (left picture). The problem is when trying to print this filemaker squeezes every note into this field ignoring the "When you print a field or a portal with a scroll bar, FileMaker Pro prints only the data visible without scrolling." (right picture).

I'm using FileMaker Pro Advanced 17.0.1.48. Worth noting that in FileMaker Pro 12.0v3 same field is working as intended.

 

Even if i disable scroll bar using overflow: hidden the result is same.

 

Here is the code:

"data:text/html,
<html>
<head>
<style>
body {
  font-family: verdana;
  font-size: 9px;
  overflow: auto;
  padding: 0;
  margin: 0;
  background: ;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  border-bottom: 1px solid ;
  height: auto; /*56px;*/
  overflow: hidden;
  margin: 2px 0;
  padding: 0 3px;
  text-align: left;
  word-wrap: break-word;
}
li.open {
  height: auto;
}
div {
  color: black;
  background-color: rgb(187,187,187);
  text-decoration: none;
  font-weight: bold;
font-style: italic;
  font-size: 9px;
}
</style>
<script type='text/javascript'>
function toggleNote(id) {
  el = document.getElementById(id);
  if (el.className == 'open') el.className = '';
  else el.className = 'open';
}
function nl2br(value) {
      return value.replace(/\n/g, '<br />');
    }
</script>
</head>
<body>
<ul>"
&
List( shot_comments::html)
&
"</ul>
</body>"

Thank you in advance for any feedback.

Outcomes