The Form Control Example shows you how to write code to use the different form controls supported by Perceptive Content in your forms. It also provides information about how to write lookups to data in other files. This form example shows how to code each of the form controls offered by Perceptive Content in XSL using the common illustration of shipping information such as the Ship To, Ship Date, and other shipping information displayed using such form controls as a list box, text box, radio buttons, check box, and a text area control. The Ship To field is a drop-down list box that is dynamically populated using scripting in the XSL file that looks up the vendor in the lookups.xml file.
|
Directory |
Description |
|---|---|
|
demo.xsl |
The demo.xsl file contains the HTML form controls, and XSL code examples you can follow to use these controls in your own forms with Perceptive Content. |
|
demo.xml |
The demo.xml file contains example elements so that you can follow this structure when you are coding your own form files. |
|
lookups.xml |
The lookups.xml file contains code example of data lookups to give you an idea of how you can code your own data lookups with your own applications or systems. When you deploy your form, add this xml file as part of the form presentation files. |
|
formstylesheet.css |
The formstylesheet.css file is an example of a shared form file. This file gives you an idea of how you can use CSS to style your own forms. Shared form files in Perceptive Content enable you to use the same file with many different forms so that you can single-source the files that are used with more than one form. |