Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
javascript
javascript

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;
}

...