File_Infopath
[ class tree: File_Infopath ] [ index: File_Infopath ] [ all elements ]

File: Infopath.php

Source Location: /File_Infopath-0.1.0/Infopath.php

Classes:

File_Infopath_Exception
File_Infopath
Microsoft Infopath file format reader.

Page Details:

Microsoft Infopath file format reader.

PHP Version 5

Notes:

  • Does not yet support structured fields. Only reads fields in the base group.
  • There is an inbuilt restriction on the characters that can be used for field and group names. Only alphanumeric and underscores/hyphens/full stops allowed. (Must only begin with alphabetic or underscore)
Infopath Usage:
  • Infopath does not have the ability to associate multiple checkboxes to one field. There is a similar problem for multi-selects and Infopath does not allow these controls when in web compatible mode. To overcome this problem and treat checkboxes as part of the one field when read by this class, they need to be put together into groups under "Data Source" section. However, there is also another problem where fields cannot have the same name even if they exist in separate groups, so the fieldnames need to be prefixed with the group's name in order to avoid conflicts.
  • Use the "align" function when adding text fields with labels (not necessary on other boxes for checkboxes and radio buttons)
Resources: Infopath Devel Community http://www.infopathdev.com

Infopath Developer Portal http://msdn2.microsoft.com/en-us/office/aa905434.aspx

MSDN - Infopath 2007 Contains developer reference, xsf schema reference, technical articles, etc http://msdn2.microsoft.com/en-us/library/bb979620.aspx

Possible Future Features:

  • Online and offline forms saving to xml format using javascript for offline
  • Repeating sections using javascript
  • Add form validation (server side or javascript?)
  • Handle rich text area?
  • Open from source files (File -> Save as source files...)
Package Dependencies:
  • File_Cabinet
  • XSL extension (optional)

Includes:

require_once('PEAR/Exception.php') [line 56]
require_once('File/Cabinet.php') [line 57]

Documentation generated on Mon, 11 Mar 2019 15:16:42 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.