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: 2 years ago
Size: 2,614 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <FormGenerator xmlns:xsi="" xmlns="" 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> <Line label="Firstname:"> <Input name="strFirstname" size="100%"/> </Line> <Line label="Street:"> <Input name="strStreet" size="100%"/> </Line> <Line label="Postcode, City:" colwidth="25, 25, 50"> <Input name="strPostcode" size="90%"/> <Input name="strCity" size="100%"/> </Line> <Line horzline="true"/> <Line label="Gender:"> <RadioGroup name="strGender" flags="HORZ_ARRANGE"/> </Line> <Line label="Birthday:"> <Date name="dateDoB" flags="ADD_DATE_PICKER"/> </Line> <Line> <Check name="bBoardMember" suffix="member of the board"/> </Line> </FieldSet> </Div> <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"/> </Line> </FieldSet> </Div> <ButtonBox buttons="SAVE DISCARD" flags="ALIGN_RIGHT"/> <Script> <![CDATA[ function SelectImage() { browseServer('strImage', 'imgImage', '/images'); } function ResetImage() { resetElement('imgImage'); } ]]> </Script> </Form> </FormGenerator>