Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Commit

Permalink
Remove Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreller committed May 24, 2021
1 parent 3408369 commit cd3a128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/gtForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function createControl($type, $id, $value){
$wip.= "</select>";
break;
case "sku":
$wip = "<input type='text' id='$id' name='$id' class='form-control' value='$value' autocomplete='off' pattern='^[a-zA-Z0-9]*$' onblur='this.value=cleanSKU(this.value);'>";
$wip = "<input type='text' id='$id' name='$id' class='form-control' value='$value' autocomplete='off' onblur='this.value=cleanSKU(this.value);'>";
$wip.= "<script language='javascript' type='text/javascript'>
function cleanSKU(string){
var wip = '';
Expand Down

0 comments on commit cd3a128

Please sign in to comment.