function ValidateData() {

//Submission variable
var CanSubmit = false;

//Check there is something entered into the word list
CanSubmit = ForceEntry("WordList", "Please enter some sentences to print on the worksheet.");
if (!CanSubmit) return;

//If instructions and text over run,	
//POST the information rather tha using GET

	//Grab the word list text
	var textList = document.getElementById("WordList").value;
	//If the list is over 200 characters long, post the vars
	if (textList.length > 200)
	{
		document.LayoutSimpleSentences.method = "post";		
		document.LayoutSimpleSentences.VarsPosted.value = "true";
	}

//If fields have been entered correctly, submit the form
document.LayoutSimpleSentences.submit();

} //end function

