
This is one of our XFAarticles which investigates the important factors to be considered during the conversion from FormCalc script to Javascript (since none of the current browsers supports formcalc script, therefore the conversion to Javascript is a prerequisite in HTML5).
Prior to diving into the conversion we should separate out the keywords, operators and separators used in the FormCalc script.
This separation would be helpful to allow for the replacing the tags with related Javascript supported tags.
Keywords
[“and”, “else”, “elseif”, “endif”, “eq”, “ge”, “gt”, “if”, “infinity”,”le”, “lt”, “nan”, “ne”, “not”, “null”, “or”, “then”, “this”, “break”, “continue”,”do”, “downto”, “end”, “endfor”, “endfunc”, “endwhile”, “exit”, “for”, “foreach”,”func”, “in”, “return”, “step”, “throw”, “upto”, “var”, “while”];
Operators [“+”, “{“, “}”, “-“, “%”, “*”, “/”, “;”, “{“, “}”];Separators[“(“, “)”, “[“, “]”, “,”, “.”, “..”, “.#”, “.*”];Some example of replacementOperational| FormCalc | Javascript |
|---|---|
| and | && |
| or | || |
| not | ! |
| eq | == |
| ne | != |
| ge | >= |
| gt | > |
| le | <= |
| lt | < |
FormVu allows you to
| Use Interactive PDF Forms in the Web Browser |
| Integrate fillable PDF Forms into Web Apps |
| Parse PDF forms as HTML5 |
What is FormVu?
FormVu is a commercial SDK for converting PDF Form files into standalone HTML with interactive form components.
Why use FormVu?
FormVu allows you to integrate PDF forms into your web application effortlessly while retaining all their interaction and functionality.
What licenses are available?
We have 3 licenses available:
Cloud for form conversion using the shared IDRsolutions cloud server, Self hosted server option for your own cloud or on-premise servers, and Enterprise for more demanding requirements.
How to use FormVu?
Want to learn more about FormVu and how to use it, we have plenty of tutorials and guides to help you.