PHP Classes

File: SKien/Test/Formgenerator/testdata/AllElements.xml

Recommend this page to a friend!
  Classes of Stefan Kientzler   Complex PHP Form Design and Generator   SKien/Test/Formgenerator/testdata/AllElements.xml   Download  
File: SKien/Test/Formgenerator/testdata/AllElements.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: added setSelectOptions() to FormSelect / FormRadioGroup
Date: 2 years ago
Size: 3,294 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <FormGenerator> <Form colwidth="25, 75"> <Header text="Header" level="1"/> <Static text="Static" class="overview"/> <Div width="100"> <FieldSet type="IMAGE" imageheight="20"> <Line label="Test Line"> <Input name="strInput" size="100%" flags="MANDATORY" length="100"/> </Line> <Line label="Test Line"> <Button id="btnTest" text="Test" style="width: 50px;"/> </Line> <Line label="Test Line"> <Canvas id="canvasTest" width="200px" height="200px"/> </Line> <Line label="Test Line"> <Check name="bTest" btnvalue="set"/> </Line> <!-- <Line label="Test Line"> <CKEdit name="strTest" rows="5" content-css="test.css" body-id="test_body_id"/> </Line> --> <Line label="Test Line"> <Color name="clrTest"/> </Line> <Line label="Test Line"> <Cur name="fltTest" size="10"/> </Line> <Line label="Test Line"> <Date name="dateTest" size="10"/> </Line> <Line label="Test Line"> <Float name="curTest" size="10" digits="3"/> </Line> <Line label="Test Line"> <Image name="imgTest" image="IMG_SEARCH" bindto="strTest" default="test.img"/> </Line> <Line label="Test Line"> <RadioGroup name="iTest"> <option value="0">zero</option> <option value="1">one</option> </RadioGroup> </Line> <Line label="Test Line"> <Range name="iTest" min="0" max="100" step="10"/> </Line> <Line label="Test Line"> <Select name="strGender" size="1" selectbtntext="Select" flags="SELECT_BTN"/> </Line> <Line label="Test Line"> <Select name="strSelect"> <option value="0">zero</option> <option value="1">one</option> </Select> </Line> <Line label="Test Line"> <TextArea name="strTest" rows="5" cols="50"/> </Line> <Line label="Test Line"> <Int name="iInt" size="10"/> </Line> <Line label="Test Line"> <Time name="timeTest" size="10"/> </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>