Lately, I have started working on the OpenXFDL project again, concentrating efforts in making a C++ application with WX Widgets that can compile for Windows, Mac, and Linux.  Getting frustrated with libxml2 and wanting to learn more of xpath queries, I decided to make a XFDL reader in PHP.  This can be applied easily as browser/e-mail plugins to view XFDL forms without the need of an external viewer.  I’ve been bad about posting but I’ll work to add more to this blog soon.  For now, here is a sight to try it out with.  Unlike previous stuff, you can do a straight XFDL form instead of converting to XML first.  Try it out!

15 thoughts on “XFDL in PHP…”

  1. Damn sexy. Seems to have difficulty with drop downs and calculations (and obviously digital signatures). DA 31 appears to leave an artifact from it’s calculation function on top of the form, ‘Date Logic Do Not Remove’.

    1. Yeah, not setup for more than proof of concept at this point. It was actually an easy way of debuging my xml methods to search out the data with xpath. Now I’m better set to use xpath in libxml2 to complete my C++ viewer for XFDL files.

    2. Have not added anything for the ‘compute’ tags that handle calculations. That’ll be a final step. The first step is organizing it to a readable form, then an editable form. The next step is being able to sign which is especially important on the PHP reader so it can be integrated to e-mail clients. Then computes will happen last, thanks for continued support though!

  2. I think your work is wonderful, so far. I have tried to follow along and make an osX version of a reader, and had some success. I have since dropped the project as a web app makes much more sense. Please keep up the good work, many of my peers both civilian and military are following this with a lot of interest.

    1. Thank you for your interest. I try to keep the blog updated as my code, but I fail to do so because a lot of progress takes place at my civilian job, which currently blocks this blog. I see this as three projects:
      1. An XFDL reader for all OSes. Recently, I’ve had a lot of progress using wxWidgets which can be compiled in OSx, Linux, or Windows. Watch for a new post on it.
      2. XFDL reader for online; this would make MyForms and e-mail clients very efficient for using forms, the PHP code is a start.
      3. An API to manipulate XFDL files, this should follow naturally when all the rest of the projects are working.

      Thanks for your interest, I’ll try to keep this blog more up-to-date.

  3. This is such an awesome, and much needed, project. I tried opening a DA 31 as well, but certain fields were not editable. Still, it’s very impressive. Would you consider making your php version open source? I only ask because it’s something I would love to collaborate on.

    1. Ha, it’s a work in progress. I have a bad habit of doing 10 projects at once so this is one of many. My final hope for this is to make a plugin for an e-mail client. For example, I use Mozilla Thunderbird and my AKO e-mail goes to that client. It’s obnoxious to open my VirtualBox and run Windows to read it. If I can finish this, it’d easily translate to a plugin for Thunderbird where you can view an XFDL form e-mailed. Add signing capability to it (through libcackey on Linux/Mac and ActivClient on Windows) and it’d increase my ability to respond to forms sent to me!

  4. Is this a continuation of the xfdl in access you spoke about in 2010. I’m currently working on dba and was trying to incorporate a xfdl file into it. I got it to open lotus but not the form…

    1. Alright, for those who might need what I was look for. Here’s the command line

      RunFunction = Shell(Chr(34) & “C:\Program Files\IBM\Lotus Forms\Viewer\3.5\masqform.exe” & Chr(34) & ” ” & Chr(34) & “C:\Sample_Viewer6_5.xfdl” & Chr(34))

      1. Yeah, these projects are to not use Pure Edge or Lotus Forms as those are Windows programs. The concept here is to make programs that run on any OS so that users with Linux and Macs can edit forms.

  5. How difficult would it be to add Dropbox support? That might allow for Android/iOS usage too and might work with some of the third party card readers (Thursby etc.). Keep up the good work!

Leave a Reply

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