phpretard Posted October 22, 2007 Share Posted October 22, 2007 I'm banging my head trying to figure why this won't validate. I know the javascript it's calling works...but it wont call goshdarnit! echo"<form method=post name=bd action=\"{rsvp_bday.php\" style=\"width:250\" onclick=return {validateForm(bd)}>"; -Anthony Link to comment https://forums.phpfreaks.com/topic/74371-javascript-validation-not-working/ Share on other sites More sharing options...
trq Posted October 22, 2007 Share Posted October 22, 2007 Whats with the curly braces? Try... <?php echo "<form method=\"post\" name=\"bd\" action=\"rsvp_bday.php\" style=\"width:250\" onclick=\"return validateForm(bd);\">"; ?> Link to comment https://forums.phpfreaks.com/topic/74371-javascript-validation-not-working/#findComment-375782 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.