View Single Post
Old Apr 23rd, 2006, 6:30 AM   #6
TecBrain
Hobbyist Programmer
 
Join Date: Sep 2004
Location: Cyprus
Posts: 147
Rep Power: 4 TecBrain is on a distinguished road
I got it working DaWei thanks for your tip

	else if ((document.getElementsByName('same_room')[0].checked==true) && (document.update.same_room_reason.value == ""))
	{
		alert( "Is your exam in the same room? if Yes then please give your reasons.");
		document.update.same_room_reason.focus();
		return false;
	}
__________________
Personal Portfolio
TecBrain Support Forum
Linux VS Windows ... Dont Even Think of it ..
Distribution: Slackware
if (OS==Linux) return success
There are 10 kinds of people, those who can read binary numbers and those who can't.
TecBrain is offline   Reply With Quote