This is my actual script. (the above was just an example for ease) even
when adding semi colons It still emails first and then hides the fields.
I even added the emailme, thinking that it would have to go through
those steps first to get to the email me, but still no luck . if
(errorcount == 0) {Main.Type.presence = "hidden";{var tables =
Main.GIKDetails.Donor.all;for (j = 0; j < tables.length; j++){if
(tables.item(j).NewAdd.rawValue == "0"){tables.item(j).NewAdd.presence =
"hidden"};if (tables....