PHP Classes

File: examples/xml/SimpleForm.xml

Recommend this page to a friend!
  Classes of Stefan Kientzler  >  Complex PHP Form Design and Generator  >  examples/xml/SimpleForm.xml  >  Download  
File: examples/xml/SimpleForm.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: 3,057 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
    xsi:schemaLocation=" FormGenerator.xsd">
    <Form colwidth="20, 80">
        <Header text="Personnel data sheet" level="1"/>
        <FieldSet legend="Name">
            <Line label="Lastname:">
                <Input name="strLastname" size="100%" flags="MANDATORY" maxlength="50"/>
            <Line label="Firstname:">
                <Input name="strFirstname" size="100%" maxlength="50"/>
        <FieldSet legend="Address">
            <Line label="Region:">
                <Input name="strRegion" size="100%" maxlength="50" placeholder="enter Region"/>
            <Line label="Street:">
                <Input name="strStreet" size="100%" maxlength="100"/>
            <Line label="Postcode, City:" colwidth="20, 20, 60">
                <Input name="strPostcode" size="90%" maxlength="10"/>
                <Input name="strCity" size="100%" maxlength="100"/>
        <FieldSet legend="some personal Data" colwidth="20, 30, 20, 30">
            <Line colwidth="0, 100">
                <Static text="And here are some informations..." flags="INFO    BOLD"/>
            <Line label="Gender:">
                <Select name="strGender" size="1" flags="MANDATORY"/>
                <Static text="Date of Birth:"/>
                <Date name="dateDoB" flags="NO_ZERO ADD_DATE_PICKER"/>
            <Line label="Available from:">
                <Time name="timeAvailableFrom" flags="ADD_TIME_PICKER"/>
                <Static text="to:"/>
                <Time name="timeAvailableTo" flags="NO_ZERO ADD_TIME_PICKER "/>
            <Line label="Member due:">
                <Cur name="fltDue" size="10" flags="ADD_CUR"/>
                <Static text="extra fee:"/>
                <Cur name="fltExtra" size="10" flags="ADD_CUR NO_ZERO"/>
            <Line label="Weight:">
                <Float name="fltWeight" size="10" digits="1" suffix="kg"/>
            <Line label="Priority:">
                <Range name="iPriority" width="70%" min="1" max="10" step="2" flags="SHOW_VALUE"/>
                <Static text="category:"/>
                <Color name="strCatColor"/>
            <Line label="Resumé:" colwidth="20, 80">
                <Input name="strResumeFile" size="calc(100% - 45px)" flags="BROWSE_SERVER READ_ONLY" expandfolder="files/"/>
        <FieldSet legend="internal processing">
            <Line label="Validated:">
                <Input name="strValidated" size="30" flags="ADD_DTU READ_ONLY"/>
        <ButtonBox buttons="SAVE DISCARD" flags="ALIGN_RIGHT"/>
For more information send a message to info at phpclasses dot org.