Next Function check
to move on enter username: bob and password: villa
inputA
inputB
if(this.domForm.inputA.value == "bob")
{
if(this.domForm.inputB.value == "villa"){
true;
}
else {
failAlert = NW_WIDGET_FACTORY_alert_box("You can't move on", "Password was incorrect", "200", "10");
document.body.appendChild(failAlert.domNode);
false;
}
}
else {
failAlert = NW_WIDGET_FACTORY_alert_box("You can't move on", "Username and Password were incorrect", "200", "10");
document.body.appendChild(failAlert.domNode);
false;
}