You are on page 1of 2

<canvas>

<text x="5" y="5" >Si es Chileno rellene


el formulario izquierdo, si es extranjero
rellene el formulario derecho</text>
<window x="20" y="20"
width="500" height="425" >
<view id="divider" x="250" y="30"
width="10" height="320" bgcolor="#666699"
onmousedown="dragging.apply()"
onmouseup="dragging.remove()">
<state name="dragging">
<attribute name="x"
value="${parent.getMouse('x')}"/>
</state>
</view>
<!-- constrain width to x of 'divider' -->
<view name="left" bgcolor="#999999" y="30"
width="${divider.x}" height="320" >
<form id="tecnoweb">
<submit name="enviar"/>

<statictext fontstyle="bold" >
Ingrese su nombre
</statictext>
<edittext width="175" />
<statictext fontstyle="bold" >
Ingrese su Rut
</statictext>
<edittext width="175" />

<statictext fontstyle="bold" >
Ingrese su sexo
</statictext>
<radiogroup x="25" name="sexo">
<radiobutton value="M">
Masculino
</radiobutton>
<radiobutton value="F">
Femenino
</radiobutton>
<radiobutton value="O">
Otro
</radiobutton>
</radiogroup>

<statictext fontstyle="bold" >
Ingrese su estado civil
</statictext>
<combobox width="175" editable="false"
defaulttext="Elija una opcion" >
<textlistitem text="Soltero" />
<textlistitem text="Casado"/>
<textlistitem text="Viudo" />
</combobox>

<button text="Enviar" isdefault="true"
onclick="parent.enviar.submit()" />
</form>
</view>

<!-- constrain to properties of 'divider' -->
<view name="right" bgcolor="#CAD0EC" y="30"
x="${divider.x+divider.width}"
width="${parent.width-this.x}" height="320" >
<form id="tecnoweb2">
<submit name="enviar2"/>

<statictext fontstyle="bold" >
Ingrese su nombre
</statictext>
<edittext width="175" />
<statictext fontstyle="bold" >
Ingrese su nacionalidad
</statictext>
<edittext width="175" />
<statictext fontstyle="bold" >
Ingrese su sexo
</statictext>
<radiogroup x="25" name="sexo">
<radiobutton value="M">
Masculino
</radiobutton>
<radiobutton value="F">
Femenino
</radiobutton>
<radiobutton value="O">
Otro
</radiobutton>
</radiogroup>

<statictext fontstyle="bold" >
Ingrese su estado civil
</statictext>
<combobox width="175" editable="false"
defaulttext="Elija una opcion" >
<textlistitem text="Soltero" />
<textlistitem text="Casado"/>
<textlistitem text="Viudo" />
</combobox>

<button text="Enviar" isdefault="true"
onclick="parent.enviar2.submit()" />
</form>

</view>
</window>
</canvas>

You might also like