<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SrchByCdFolder1.aspx.cs" Inherits="FB80003.SrchByCdFolder1" MasterPageFile="Site.Master" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolderBody">
<div class="panel panel-success">
	<div class="panel-heading">
		<a id="homeBtn" class="btn btn-default btn-xs" href="Index.aspx" role="button"><span class="glyphicon glyphicon-home"></span></a>&nbsp;
		Search for Folder Number
	</div>
	<div class="panel-body">
	<form name="cdfoldersearch" action="SrchByCdFolder2.aspx" method="POST" class="gremlins-test">
		<div class="form-group">
			<label for="foldernum">Folder number:</label>
            <% if (Request.QueryString["foldernum"] != null) { %>
			<input type="text" id="foldernum" name="foldernum" class="form-control gremlins-test" maxlength="20" required="required" value="<% Response.Write(Request.QueryString["foldernum"]); %>"/>
            <% } else { %>
			<input type="text" id="foldernum" name="foldernum" class="form-control gremlins-test" maxlength="20" required="required"/>
            <% } %>
		</div>
		<input type="submit" id="submitBtn" class="btn btn-success btn-sm gremlins-test" value="Search"/>
        <br><div id="formHELP" style="font-weight:normal"><small>Note: the input field must match a valid folder number format (e.g. FP002341) to light up the Search button.</small></div><br/>
	</form>
	</div>
    <br />
</div>
</asp:Content>
