The two are equivalent given the minlength restriction; I just like
this better.
type="text"
minlength="2"
maxlength="2"
- pattern="[a-zA-Z0-9]+" />
+ pattern="[a-zA-Z0-9]*" />
</div>
<input type="hidden" name="servicename" value="BaltimoreLink" />
<input type="submit" name="go" value="Get Ticket" />
type="text"
minlength="2"
maxlength="2"
- pattern="[a-zA-Z0-9]+" />
+ pattern="[a-zA-Z0-9]*" />
</div>
<h3>Zone</h3>
type="text"
minlength="2"
maxlength="2"
- pattern="[a-zA-Z0-9]+" />
+ pattern="[a-zA-Z0-9]*" />
</div>
<h3>Origin</h3>