...
Code Block | ||||
---|---|---|---|---|
| ||||
function processTabClick(tab) {
if (tab == 1) {
if (get("FIELD1") == "" || get("FIELD2") == "") {
alert("You must fill out information on the first tab before switching to the second tab.");
return false;
}
}
return true;
}
|
...