Mark Stephens Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

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

1 min 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.

If you’re a first-time reader, or simply want to be notified when we post new articles and updates, you can keep up to date by social media (TwitterFacebook and Google+) or the Blog RSS.

Mark Stephens Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

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
3 min read

Favourite resources from our HTML development team

As the web progresses and grows, so do the technologies that come along with it. Trying to keep on top of everything you need...
Ovidijus Okinskas
1 min read

Leave a Reply

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