PHP Classes

File: examples/xml/ColumnForm.xml

Recommend this page to a friend!
  Classes of Stefan Kientzler  >  Complex PHP Form Design and Generator  >  examples/xml/ColumnForm.xml  >  Download  
File: examples/xml/ColumnForm.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Complex PHP Form Design and Generator
Display and process complex HTML forms HTML forms
Author: By
Last change:
Date: 1 year ago
Size: 2,614 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
    xsi:schemaLocation=" FormGenerator.xsd">
    <Form colwidth="25, 75">
        <Header text="Personnel data sheet" level="1"/>
        <Div width="70" align="LEFT">
            <FieldSet legend="Name and Adress" id="col1">
                <Line label="Lastname:" widthdim="pt">
                    <Input name="strLastname" size="100%" flags="MANDATORY"/>
                <Line label="Firstname:">
                    <Input name="strFirstname" size="100%"/>
                <Line label="Street:">
                    <Input name="strStreet" size="100%"/>
                <Line label="Postcode, City:" colwidth="25, 25, 50">
                    <Input name="strPostcode" size="90%"/>
                    <Input name="strCity" size="100%"/>
                <Line horzline="true"/>
                <Line label="Gender:">
                    <RadioGroup name="strGender" flags="HORZ_ARRANGE"/>
                <Line label="Birthday:">
                    <Date name="dateDoB" flags="ADD_DATE_PICKER"/>
                    <Check name="bBoardMember" suffix="member of the board"/>
        <Div width="30" align="LEFT">
            <FieldSet legend="Portrait" id="col2" colwidth="100">
                <Input name="strImage" flags="HIDDEN BROWSE_SERVER"/>
                <Image name="imgImage" onclick="SelectImage()" flags="ALIGN_CENTER" default=".\public\images\contact_empty.png" bindto="strImage" title="click to select an image"/>
                <Line colwidth="0, 50, 50">
                    <Button id="btnImageSelect" text="Select" onclick="SelectImage()" flags="ALIGN_CENTER"/>
                    <Button id="btnImageReset" text="Reset" onclick="ResetImage()" flags="ALIGN_CENTER"/>
        <ButtonBox buttons="SAVE DISCARD" flags="ALIGN_RIGHT"/>
                function SelectImage()
                    browseServer('strImage', 'imgImage', '/images');
                function ResetImage()
For more information send a message to info at phpclasses dot org.