Example Form XML

<Form>

          <Design>

<table cellpadding="0" cellspacing="0" style="width: 500px">

                                      <tr>

<td class="ms-formlabel" style="width: 116px"><b>Priority Name:</b></td>

<td class="ms-formbody">[(PriorityName)]<![CDATA[&nbsp;]]></td>

                                      </tr>

                                      <tr>

<td class="ms-formlabel" style="width: 116px"><![CDATA[&nbsp;]]></td>

<td class="ms-formbody">[(SUBMIT)]<![CDATA[&nbsp;]]></td>

                                      </tr>

                             </table>

          </Design>

          <Controls>

                   <Control type="TextBox">

                             <ControlName>PriorityName</ControlName>

                             <ControlSize>150</ControlSize>

                             <DefaultText/>

                             <Required>true</Required>

                   </Control>

                   <Control type="Submit">

                             <Text>Save Priority</Text>

                   </Control>

          </Controls>

          <FormResponses>

                   <Response alert="false" sendemail="false">

                             <ResponseText></ResponseText>

                             <Message/>

                             <RedirectUrl>PriorityView.aspx</RedirectUrl>

                   </Response>

          </FormResponses>

          <EditForm>

                   <Mappings>

                             <Control>

                                      <ControlName>PriorityName</ControlName>

                                      <NodePath>NewDataSet/Data/PriorityName</NodePath>

                             </Control>

                   </Mappings>

          </EditForm>

          <DisplayForm>

                   <Design>

                             <table cellpadding="0" cellspacing="0" style="width: 500px">

                                      <tr>

<td class="ms-formlabel" style="width: 116px"><b>Priority Name:</b></td>

                                                <td class="ms-formbody">[(PriorityName)]</td>

                                      </tr>

                             </table>

                   </Design>

                   <Mappings>

                             <Control>

                                      <ControlName>PriorityName</ControlName>

                                      <NodePath>NewDataSet/Data/PriorityName</NodePath>

                             </Control>

                   </Mappings>

          </DisplayForm>

</Form>

 

Back to Top