summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 102a4ff..bfa6a30 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -148,6 +148,13 @@ include("head.inc");
<?php if($pkg['step'][$stepid]['fields']['field'] <> "") { ?>
<script language="JavaScript">
<!--
+
+function FieldValidate(userinput, regexp, message)
+{
+ if(!userinput.match(regexp))
+ alert(message);
+}
+
function enablechange() {
<?php
foreach($pkg['step'][$stepid]['fields']['field'] as $field) {
OpenPOWER on IntegriCloud