Experiment to fix validating host names

This commit is contained in:
Stephen Beaver 2015-09-11 13:37:52 -04:00
parent cf011cf210
commit 54a2bd6594
2 changed files with 14 additions and 2 deletions

View File

@ -177,4 +177,16 @@ form .btn + .btn {
background-clip: padding-box;
*border-right-width: 2px;
*border-bottom-width: 2px;
}
}
/** Disable the autocomplete helper text */
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}

View File

@ -704,7 +704,7 @@ while ($counter < count($addresses)) {
'address' . $counter,
null,
$address
))->addMask('address_subnet' . $counter, $address_subnet)->setWidth(4);
))->addMask('address_subnet' . $counter, $address_subnet)->setWidth(4)->setAttribute('pattern', '[0-9:a-z:A-Z:.:]*');
$group->add(new Form_Input(
'detail' . $counter,