📄 register.htm
字号:
if (chkVal != "" && !(prsVal >= "0" && prsVal <= "999"))
{
alert("Please enter a value greater than or equal to \"0\" and less than or equal to \"999\" in the \"Quantity for the DateTime Crossgrade\" field.");
theform.QuantityDateTimeCrossgrade.focus();
}
if (theform.QuantityDateClass.value == "")
{
alert("Please enter a value for the \"Quantity for the Date Class\" field.");
theform.QuantityDateClass.focus();
}
var checkOK = "0123456789-,";
var checkStr = theform.QuantityDateClass.value;
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
if (ch != ",")
allNum += ch;
}
if (!allValid)
{
alert("Please enter only digit characters in the \"Quantity for the Date Class\" field.");
theform.QuantityDateClass.focus();
}
var chkVal = allNum;
var prsVal = parseInt(allNum);
if (chkVal != "" && !(prsVal >= "0" && prsVal <= "999"))
{
alert("Please enter a value greater than or equal to \"0\" and less than or equal to \"999\" in the \"Quantity for the Date Class\" field.");
theform.QuantityDateClass.focus();
}
if (theform.QuantityGradientFill.value == "")
{
alert("Please enter a value for the \"Quantity for the Gradient Fill\" field.");
theform.QuantityGradientFill.focus();
}
var checkOK = "0123456789-,";
var checkStr = theform.QuantityGradientFill.value;
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
if (ch != ",")
allNum += ch;
}
if (!allValid)
{
alert("Please enter only digit characters in the \"Quantity for the Gradient Fill\" field.");
theform.QuantityGradientFill.focus();
}
var chkVal = allNum;
var prsVal = parseInt(allNum);
if (chkVal != "" && !(prsVal >= "0" && prsVal <= "999"))
{
alert("Please enter a value greater than or equal to \"0\" and less than or equal to \"999\" in the \"Quantity for the Gradient Fill\" field.");
theform.QuantityGradientFill.focus();
}
if (theform.QuantityMessageDialog.value == "")
{
alert("Please enter a value for the \"Quantity for the Message Dialogue\" field.");
theform.QuantityMessageDialog.focus();
}
var checkOK = "0123456789-,";
var checkStr = theform.QuantityMessageDialog.value;
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
if (ch != ",")
allNum += ch;
}
if (!allValid)
{
alert("Please enter only digit characters in the \"Quantity for the Message Dialogue\" field.");
theform.QuantityMessageDialog.focus();
}
var chkVal = allNum;
var prsVal = parseInt(allNum);
if (chkVal != "" && !(prsVal >= "0" && prsVal <= "999"))
{
alert("Please enter a value greater than or equal to \"0\" and less than or equal to \"999\" in the \"Quantity for the Message Dialogue\" field.");
theform.QuantityMessageDialog.focus();
}
if (theform.QuantitySaveForm.value == "")
{
alert("Please enter a value for the \"Quantity for the Save Form\" field.");
theform.QuantitySaveForm.focus();
}
var checkOK = "0123456789-,";
var checkStr = theform.QuantitySaveForm.value;
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
if (ch != ",")
allNum += ch;
}
if (!allValid)
{
alert("Please enter only digit characters in the \"Quantity for the Save Form\" field.");
theform.QuantitySaveForm.focus();
}
var chkVal = allNum;
var prsVal = parseInt(allNum);
if (chkVal != "" && !(prsVal >= "0" && prsVal <= "999"))
{
alert("Please enter a value greater than or equal to \"0\" and less than or equal to \"999\" in the \"Quantity for the Save Form\" field.");
theform.QuantitySaveForm.focus();
}
if (theform.QuantitySaveGrid.value == "")
{
alert("Please enter a value for the \"Quantity for the Save Grid\" field.");
theform.QuantitySaveGrid.focus();
}
var checkOK = "0123456789-,";
var checkStr = theform.QuantitySaveGrid.value;
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
allValid = false;
break;
}
if (ch != ",")
allNum += ch;
}
if (!allValid)
{
alert("Please enter only digit characters in the \"Quantity for the Save Grid\" field.");
theform.QuantitySaveGrid.focus();
}
var chkVal = allNum;
var prsVal = parseInt(allNum);
if (chkVal != "" && !(prsVal >= "0" && prsVal <= "999"))
{
alert("Please enter a value greater than or equal to \"0\" and less than or equal to \"999\" in the \"Quantity for the Save Grid\" field.");
theform.QuantitySaveGrid.focus();
}
if (theform.QuantitySourceCodeFinder.value == "")
{
alert("Please enter a value for the \"Quantity for the Source Code Finder\" field.");
theform.QuantitySourceCodeFinder.focus();
}
var checkOK = "0123456789-,";
var checkStr = theform.QuantitySourceCodeFinder.value;
var allValid = true;
var decPoints = 0;
var allNum = "";
for (i = 0; i < checkStr.length; i++)
{
ch = checkStr.charAt(i);
for (j = 0; j < checkOK.length; j++)
if (ch == checkOK.charAt(j))
break;
if (j == checkOK.length)
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -