Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

2 cool features in XFA forms (and how we can utilise in HTML5 conversion)

55 sec read

XFA has some very useful features and we are aiming to make the most of them in our converter. So I would like to highlight two of them and show you why they are potentially useful…..

1. Adding rows to tables.

XFA has flexible support to add additional rows into the data. In this case you can see a table and some rows).

Standard example XFA documentClick here for the demo

XFA includes controls (which we have replicated in JavaScript for HTML5) to add and remove values.

Add values to tablesClick here for the demo

XFA also defines a page break so that content show flow onto the next page as the page expands. Data is retained and copied as rows are added and is available in the DOM on client, making the operation very fast and also making it easy to manipulate the data further.

2. Auto-expanding text boxes

Typing data into fields which is longer than the initial box can be problematic. So the XFA solution is to allow the field to extend so that all the data is visible. This is easy to implement in HTML5 and works very well. It also makes life much easier on the IPad.

auto-expanding text fieldsClick here for the demo

XFA has lots of features which convert really well to HTML5 and we make can make use of in HTML5 conversion. In later articles, we will document other XFA features and show how these can transfer to HTML forms.

This post is part of our “XFA Articles Index” in these articles, we aim to help you understand XFA.

Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

Converting your PDF files to HTML5 with BuildVu 

Recently we announced our updated product range for 2018 and are rebranding some existing products, like JPDF2HTML5 which has been renamed to BuildVu. It...
Georgia Ingham
2 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2019. All rights reserved.