title: Default value and styling in text field in TCPDF
body: <p>I'm trying to generate a form in a PDF file with editable text fields that have a default value. Here's an excerpt of the code:</p>
  
  <pre><code>$pdf = new TCPDF('P','mm','A5',true,'UTF-8',false);
  
  $pdf-&gt;SetCreator(PDF_CREATOR);
  $pdf-&gt;SetAuthor('Author');
  $pdf-&gt;SetTitle('Document');
  
  $pdf-&gt;SetMargins(0,0,0);
  $pdf-&gt;setImageScale(1);
  $pdf-&gt;setPrintHeader(false);
  $pdf-&gt;setPrintFooter(false);
  $pdf-&gt;SetAutoPageBreak(FALSE, 0);
  $pdf-&gt;setLanguageArray($l);
  
  $pdf-&gt;TextField('field',100,30,array(),array(V=&gt;'hello world'),10,10);
  
  $pdf-&gt;Output('out.pdf','I');
  </code></pre>
  
  <p>I'm testing this in Chrome's PDF viewer and Adobe Reader X and what happens is that the default text doesn't appear, although when I click the field it does. When I change the initial value and unfocus the field, the text field will be visible. If I don't change the initial field and just unfocus the field without changing anything, the text field will still not be visible.</p>
  
  <p>Another problem is the ugly border that's around the field.</p>
  
  <p>What I basically want to achieve is this:</p>
  
  <pre><code>&lt;input type="text" value="hello world" style="border:0"/&gt;
  </code></pre>
  
  <p>This is the generated PDF: <a href="https://www.dropbox.com/s/0j5gh0rt99ujbb4/doc.pdf" rel="nofollow">doc.pdf</a></p>