Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Found an error in the validation Javascript

Found an error in the validation Javascript 16 years 9 months ago #137

  • conticreative
  • conticreative's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
I found several misspellings in the Javascript validation in the dtdonate.php file. I also found the following error:
function validate()  {  	if(document.frmcart.donationamount.value=="){  		alert ("Please Enter First Name")  		document.frmcart.donationamount.focus();  		return false;  	}
it should read:
function validate()  {  	if(document.frmcart.donationamount.value=="){  		alert ("Please Enter a donation amount")  		document.frmcart.donationamount.focus();  		return false;  	}
I would give you a line number but I made too many changes.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.091 seconds