<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="SubProcessStart.aspx.vb" Inherits="WebFoundations.WFWorkflow.UI.SubProcessStart1" %>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h1>
    <asp:Label ID="lblModuleName" runat="server" /></h1>
    <div class="fields no-columns">
        <label>
            <asp:Label ID="lblnome" runat="server" />
            <asp:TextBox ID="txtnome" runat="server" MaxLength="80" />
            <asp:RequiredFieldValidator ID="obrnome" runat="server" Display="Dynamic" ControlToValidate="txtnome" />
        </label>
        <div>
            <asp:Label ID="lblFields" runat="server" />
            <div style="position:relative;width:100%">
                <div style="width:90%;float:left;"><asp:TextBox ID="txtfield" MaxLength="80" style="width:100%;min-width:100px;" runat="server" /></div>
                <div style="width:8%;float:left;margin-left:5px;height:2em;"><asp:linkButton ID="imgAddField" CssClass="add-item" Width="20px" CausesValidation="true" ValidationGroup="NOMECAMPO" runat="server">&nbsp;</asp:linkButton></div>
            </div>
            <asp:RegularExpressionValidator ID="vlField" runat="server" ControlToValidate="txtfield" ValidationExpression="[a-zA-Z]+[a-zA-Z1-9]{1,14}" ValidationGroup="NOMECAMPO" />
        </div>
        <div>
            <div style="width:90%;float:left;"><asp:ListBox ID="lstFields" Height="150px" style="width:100%;min-width:100px;" runat="server" SelectionMode="Multiple" /></div>
            <div style="width:8%;float:left;margin-left:5px;"><asp:linkButton ID="imgDelField" CssClass="remove-item" Width="20px" CausesValidation="false" runat="server">&nbsp;</asp:linkButton></div>
        </div>
    </div>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" />
        <input id="btncancel" type="button" value="button" runat="server" />
    </section>
</asp:Content>
