hog and cattle added to commodities validation
This commit is contained in:
parent
887e053220
commit
b88d068d98
@ -2496,7 +2496,7 @@ var specialChars = /[`!@#$%^&*()_+\-=\[\]{};':"\\|<>\/?~]/;
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (!["ALU","BRENTOIL","LCO","COFFEE","XCU","CORN","COTTON","XAU","IRD","NI","XPD","XPT","XRH","RICE","RUTH","XAG","SOYBEAN",
|
else if (!["ALU","BRENTOIL","LCO","COFFEE","XCU","CORN","COTTON","XAU","IRD","NI","XPD","XPT","XRH","RICE","RUTH","XAG","SOYBEAN",
|
||||||
"XDR","SUGAR","TIN","WHEAT","WTIOIL","ZNC","ETHANOL","CPO","NG","COCOA","ROBUSTA","LUMBER","RUBBER"].includes(x)) {
|
"XDR","SUGAR","TIN","WHEAT","WTIOIL","ZNC","ETHANOL","CPO","NG","COCOA","ROBUSTA","LUMBER","RUBBER","HOG","CATTLE"].includes(x)) {
|
||||||
document.getElementById('demo8').style.display = "block";
|
document.getElementById('demo8').style.display = "block";
|
||||||
document.getElementById("inputText20").value = '';
|
document.getElementById("inputText20").value = '';
|
||||||
text = "Invalid commodity symbol"
|
text = "Invalid commodity symbol"
|
||||||
|
Loading…
Reference in New Issue
Block a user