--%>

Create a web page to be used for storing software


In this project, you will create a Web page that allows visitors to your site to sign a guest book that is saved to a database.

1. Create a new document in your text editor and type the


declaration,

element, document head, and

element. Use the strict DTD and "Guest Book" as the
content of the
<br />element.</p> <p style="text-align: justify;">2. Add the following text and elements to the document body:</p> <p style="text-align: justify;"><h2>Enter your name to sign our guest book</h2><br /><form method="POST" action="SignGuestBook.php"><br /><p>First Name <input type="text" name="fi<br />rst_name"<br />/></p><br /><p>Last Name <input type="text" name="last_name"<br />/></p><br /><p><input type="submit" value="Submit" /></p><br /></form></p> <p style="text-align: justify;">3. Save the document as</p> <p style="text-align: justify;">GuestBook.html<br />in the Projects<br />directory for Chapter 8.</p> <p style="text-align: justify;">4. Create a new document in your text editor and type the</p> <p style="text-align: justify;"><!DOCTYPE><br />declaration,<br /><html><br />element, document head, and<br /><body><br />element. Use the strict DTD and "Sign Guest Book" as the content of the<br /><title><br />element.</p> <p style="text-align: justify;">5. Add the following script section to the document body:</p> <p style="text-align: justify;"><?php<br />?></p> <p style="text-align: justify;">6. Add the following statements to the script section to ensure that visitors enter their first and last names:</p> <p style="text-align: justify;">if (empty($_POST['fi<br />rst_name']) || empty($_<br />POST['last_name']))<br />echo "<p>You must enter your fi<br />rst and last<br />name! Click your browser's Back button to<br />return to the Guest Book form.</p>";</p> <p style="text-align: justify;">7. Add the following statement to the script section to connect to the database. Replace Host with the host name of your MySQL server, and<br />User and password with the MySQL user name and password you created in Chapter 7.</p> <p style="text-align: justify;">else {<br />$DBConnect = @mysql_connect("<br />host<br />", "<br />user<br />",<br />"<br />password<br />");<br />if ($DBConnect === FALSE)<br />echo "<p>Unable to connect to the database<br />server.</p>"<br />. "<p>Error code " . mysql_errno()<br />. ": " . mysql_error() . "</p>";</p> <p style="text-align: justify;">8. Add the following statements to the end of the script section to create a database named Guestbook if it does not already exist:</p> <p style="text-align: justify;">else {<br />$DBName = "guestbook";<br />if (!@mysql_select_db($DBName, $DBConnect)) {<br />$SQLstring = "CREATE DATABASE $DBName";<br />$QueryResult = @mysql_query($SQLstring,<br />$DBConnect);<br />if ($QueryResult === FALSE)<br />echo "<p>Unable to execute the<br />query.</p>"<br />. "<p>Error code " . mysql_<br />errno($DBConnect)<br />. ": " . mysql_error($DBConnect)<br />. "</p>";<br /> else<br />echo "<p>You are the first visitor!</p>";<br />}<br />mysql_select_db($DBName, $DBConnect);</p> <p style="text-align: justify;">9. Add the following statements to the end of the script section to create a table named Count if it does not already exist. The table consists of a single auto-incrementing primary key field named countID<br />$TableName = "visitors";<br />$SQLstring = "SHOW TABLES LIKE '$TableName'";<br />$QueryResult = @mysql_query($SQLstring, $DBConnect);<br />if (mysql_num_rows($QueryResult) == 0) {<br />$SQLstring = "CREATE TABLE $TableName<br />(countID SMALLINT<br />NOT NULL AUTO_INCREMENT PRIMARY KEY,<br />last_name VARCHAR(40), fi<br />rst_name VARCHAR(40))";<br />$QueryResult = @mysql_query($SQLstring,<br />$DBConnect);<br />if ($QueryResult<br />===<br />FALSE)<br />echo "<p>Unable to create the table.</p>"<br />. "<p>Error code " . mysql_<br />errno($DBConnect)<br />. ": " . mysql_error($DBConnect) .<br />"</p>";<br /> else<br />echo "<p>You are the first visitor!</p>";<br />}<br />mysql_select_db($DBName, $DBConnect);</p> <p style="text-align: justify;">10. Add the following statements to the end of the script section to create a table named Count if it does not already exist. The table consists of a single auto-incrementing primary key field named counted .</p> <p style="text-align: justify;">$TableName = "visitors";<br />$SQLstring = "SHOW TABLES LIKE '$TableName'";<br />$QueryResult = @mysql_query($SQLstring, $DBConnect);<br />if (mysql_num_rows($QueryResult) == 0) {<br />$SQLstring = "CREATE TABLE $TableName<br />(countID SMALLINT<br />NOT NULL AUTO_INCREMENT PRIMARY KEY,<br />last_name VARCHAR(40), fi<br />rst_name VARCHAR(40))";<br />$QueryResult = @mysql_query($SQLstring,<br />$DBConnect);<br />if ($QueryResult<br />===<br />FALSE)<br />echo "<p>Unable to create the table.</p>"<br />. "<p>Error code " . mysql_<br />errno($DBConnect)<br />. ": " . mysql_error($DBConnect) .<br />"</p>";</p> <p style="text-align: justify;">11. Finally, add the following statements to the end of the script section. These mysql_query() statements add the visitor to the database. The last statement closes the database connection.</p> <p style="text-align: justify;">$LastName = stripslashes($_<br />POST['last_name']);<br />$FirstName = stripslashes($_<br />POST['fi<br />rst_name']);<br />$SQLstring = "INSERT INTO $TableName<br />VALUES(NULL, '$LastName',<br />'$FirstName')";<br />$QueryResult = @mysql_<br />query($SQLstring, $DBConnect);<br />if ($QueryResult === FALSE)<br />echo "<p>Unable to execute the query.</p>"<br />. "<p>Error code " . mysql_<br />errno($DBConnect)<br />. ": " . mysql_<br />error($DBConnect) . "</p>";<br />else<br />echo "<h1>Thank you for signing our guest book!</h1>";<br />}<br />mysql_close($DBConnect);<br />}<br />}</p> <p style="text-align: justify;">12. Save the document as SignGuestBook.php in the Projects directory for Chapter 8. Upload both SignGuestBook.php and GuestBook.html to the server.</p> <p style="text-align: justify;">13. Open GuestBook.html in your Web browser by entering the following URL:<br />https://<yourserver>/PHP_Projects/<br />Chapter.08/Projects/GuestBook.html<br />Test the form to see if you can add your name to the database.</p> <p style="text-align: justify;">14. Close your Web browser window.</p> <p style="text-align: justify;">Create a Web page to be used for storing software development bug reports in a MySQL database. Include fields such as product name and version, type of hardware, operating system, frequency of occurrence, and proposed solutions. Include links on the main page that allow you to create a new bug report and update an existing bug<br />report.</p></p> </div> <div id="viewreadmore" class="link"> <a id="readmore" href="javascript:void(0);" class="read-more-trigger mar_top10" onclick="changeheight(this)">View Complete Question</a> </div> <div id="DivSolution"> <h4> Solution Preview : </h4> <div class="seprator"> </div> <p> </p> <div class="downloadfiles"> <h5> Prepared by a verified Expert</h5> <h6> Computer Engineering: Create a web page to be used for storing software</h6> <h5> Reference No:- TGS01672916</h5> <input type="submit" name="getPaid" value="Purchase Solution File" id="getPaid" class="btn btn-success btn-lg btn-block-sm mar_btm20" /> <p> Now Priced at $40 (50% Discount)</p> </div> <div style="text-align: justify"></div> </div> </div> <div class="row"> <div class="col-sm-12 reviewbox"> <div id="PlnRated"> <div class="row recomded"> <div class="recomdedbox col-sm-2 col-xs-12"> <p class="inner"><i class="fa fa-thumbs-o-up"></i> Recommended <b>(94%)</b></p> </div> <div class="recomdedbox col-sm-2 col-xs-12"> <p class="inner rating"><i class="fa fa-star"></i> Rated <b>(4.6/5)</b></p> </div> </div> </div> <div class="row "> <div class="panel-group review" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel-heading" role="tab" id="headingTwo"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> Have a Question? (oR Write a Review) </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="panel-body"> <div class="col-sm-12"> <div class="row search searchbg message"> <span id="RequiredFieldValidator1" style="visibility:hidden;">Write atleast 100 words!!</span> <textarea name="txtcomments" id="txtcomments" maxlength="1000" ValidationGroup="Review" placeholder="Write your review" class="form-control" rows="6"></textarea> <div class="pull-right mar_top20"> <input type="submit" name="btnReviewSubmit" value="Submit" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("btnReviewSubmit", "", true, "Review", "", false, false))" id="btnReviewSubmit" class="btn btn-primary pull-right" /> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="user-comments-area hidden-xs"> <h4 class="text-uppercase mar_btm20"> <i class="fa fa-question-circle"></i>   Recent Questions Asked Computer Engineering</h4> <ul class="user-comments-list"> <table id="dlMaterials" cellspacing="0" style="width:100%;border-collapse:collapse;"> <tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_0" class="studenthdname" href="https://www.tutorsglobe.com/question/how-can-the-current-distribution-plan-be-improved-would-the-51672912.aspx">How can the current distribution plan be improved would the</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_0">question 1 how can the current distribution plan be improved would the savings in costs justify changing the</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_1" class="studenthdname" href="https://www.tutorsglobe.com/question/illustrate-problem-geometrically-describe-the-geometric-51672913.aspx">Illustrate problem geometrically describe the geometric</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_1">illustrate part b in problem geometrically describe the geometric interpretationproblem medicine for a particular</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_2" class="studenthdname" href="https://www.tutorsglobe.com/question/assume-that-each-two-input-gate-delay-is-150-ps-and-that-a-51672914.aspx">Assume that each two-input gate delay is 150 ps and that a</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_2">what is the delay for the following types of 64-bit adders assume that each two-input gate delay is 150 ps and that a</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_3" class="studenthdname" href="https://www.tutorsglobe.com/question/suppose-the-cost-of-eliminating-one-ton-of-pollution-for-51672915.aspx">Suppose the cost of eliminating one ton of pollution for</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_3">suppose two utilities peoples electric and municipal energy each produce 100 tons of pollution per year the government</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_4" class="studenthdname" href="https://www.tutorsglobe.com/question/create-a-web-page-to-be-used-for-storing-software-51672916.aspx">Create a web page to be used for storing software</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_4">in this project you will create a web page that allows visitors to your site to sign a guest book that is saved to a</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_5" class="studenthdname" href="https://www.tutorsglobe.com/question/the-weekly-price-at-an-extended-stay-hotel-renting-by-the-51672917.aspx">The weekly price at an extended-stay hotel renting by the</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_5">the weekly price at an extended-stay hotel renting by the week for business travelers is 950 operating costs average</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_6" class="studenthdname" href="https://www.tutorsglobe.com/question/for-a-particular-doctor-the-length-of-time-in-hours-spent-51672918.aspx">For a particular doctor the length of time in hours spent</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_6">for a particular doctor the length of time in hours spent with a patient per office visit has the probability density</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_7" class="studenthdname" href="https://www.tutorsglobe.com/question/the-organizations-strategic-plan-calls-for-an-aggressive-51672919.aspx">The organizations strategic plan calls for an aggressive</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_7">organization is apple incthe organizations strategic plan calls for an aggressive growth plan requiring investment in</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <span class="mar_lft5">Q :</span> <a id="dlMaterials_hypermaterial_8" class="studenthdname" href="https://www.tutorsglobe.com/question/describe-the-agile-methodology-and-identify-its-51672920.aspx">Describe the agile methodology and identify its</a></h5> <p class="answer"> <span id="dlMaterials_lblQuestion_8">waterfall versus agileresearch agile methodologies including scrum and extreme programming xpwrite a two to three page</span></p> </div> <!-- /comment-box --> </li> </td> </tr> </table> </ul> <!-- /user-comments-list --> </div> </div> <div class="col-md-4 col-xs-12 login-area innerpage"> <div class="row"> <div class="details col-md-12"> <div class="col-md-4"> <div class="circle orange"> <i class="fa fa-question"></i> </div> <p> 1951565 </p> <p> Questions<br /> Asked</p> </div> <div class="col-md-4"> <div class="circle yellow"> <i class="fa fa-user-secret"></i> </div> <p> 3,689</p> <p> Active Tutors</p> </div> <div class="col-md-4"> <div class="circle green"> <i class="fa fa-thumbs-o-up"></i> </div> <p> 1451488</p> <p> Questions<br /> Answered</p> </div> <p><b> Start Excelling in your courses, Ask a tutor for help and get answers for your problems !! </b></p> <a href="https://www.tutorsglobe.com/post-your-job-for-free.aspx" class="btn btn-primary btn-lg mar_top10">ask Question</a> </div> </div> <div class="row"> <div class="user-comments-area hidden-xs"> <hr /> <h4 class="text-uppercase mar_btm20"> <i class="fa fa-question-circle"></i> Asked Questions</h4> <hr /> <ul class="user-comments-list"> <table id="dlNewReviews" cellspacing="0" style="width:100%;border-collapse:collapse;"> <tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_0" class="studenthdname" href="https://www.tutorsglobe.com/question/explore-personal-unconscious-and-collective-unconscious-53483827.aspx">Explore personal unconscious and collective unconscious</a></h5> <p> <span id="dlNewReviews_lblReviews_0">How can I rephrase this paragraph? The exploration between the "Personal unconscious" and the "Collective Unconscious" in C.G. Jung's perspective</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_1" class="studenthdname" href="https://www.tutorsglobe.com/question/explain-the-four-attachment-styles-53483828.aspx">Explain the four attachment styles</a></h5> <p> <span id="dlNewReviews_lblReviews_1">Question: Explain the four attachment styles and the effects of negative attachments on preschool and school-aged children.</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_2" class="studenthdname" href="https://www.tutorsglobe.com/question/problem-about-clinical-mental-health-counselor-53483829.aspx">Problem about clinical mental health counselor</a></h5> <p> <span id="dlNewReviews_lblReviews_2">Maria, a clinical mental health counselor, has been working with a client, Emily, for several months. Emily is a 32-year-old woman who recently went through </span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_3" class="studenthdname" href="https://www.tutorsglobe.com/question/summarize-key-points-on-post-traumatic-stress-disorder-53483830.aspx">Summarize key points on post-traumatic stress disorder</a></h5> <p> <span id="dlNewReviews_lblReviews_3">Can you please summarize the key points related to Post-Traumatic Stress Disorder (PTSD) as classified in the DSM-5, including its criteria</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_4" class="studenthdname" href="https://www.tutorsglobe.com/question/why-teenagers-understand-well-that-death-is-inevitable-53483831.aspx">Why teenagers understand well that death is inevitable</a></h5> <p> <span id="dlNewReviews_lblReviews_4"> Teenagers understand well that death is inevitable and that they themselves will die one day. What typical adolescent behavior seemingly contradicts this knowl</span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_5" class="studenthdname" href="https://www.tutorsglobe.com/question/which-of-greers-responses-to-impending-death-53483832.aspx">Which of greers responses to impending death</a></h5> <p> <span id="dlNewReviews_lblReviews_5">Which of Greer's responses to impending death is Jamila demonstrating? Need Assignment Help? </span></p> </div> <!-- /comment-box --> </li> </td> </tr><tr> <td> <li> <div class="comment-box"> <h5> <a id="dlNewReviews_hyperQues_6" class="studenthdname" href="https://www.tutorsglobe.com/question/why-education-is-important-53483833.aspx">Why education is important</a></h5> <p> <span id="dlNewReviews_lblReviews_6">Question: Education is important because it helps children develop their cognitive, behavioral, and psychomotor skills.</span></p> </div> <!-- /comment-box --> </li> </td> </tr> </table> </ul> </div> </div> </div> </div> </div> </div> </div> <script> var url = 'https://www.tutorsglobe.com/include/javascript/watiWidget.js'; var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url; var options = { "enabled":true, "chatButtonSetting":{ "backgroundColor":"#00e785", "ctaText":"Whatsapp Support!!", "borderRadius":"25", "marginLeft": "0", "marginRight": "20", "marginBottom": "20", "ctaIconWATI":false, "position":"left" }, "brandSetting":{ "brandName":"Tutorsglobe", "brandSubTitle":"Trusted Since 2005", "brandImg":"https://www.tutorsglobe.com/include/images/chat-logo.svg", "welcomeText":"Hi there!\nDo you Need help?", "messageText":"Hello, Tutorsglobe !! I have a question!", "backgroundColor":"#00e785", "ctaText":"Chat with Whatsapp", "borderRadius":"25", "autoShow":false, "phoneNumber":"441416286080" } }; s.onload = function() { CreateWhatsappChatWidget(options); }; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); </script> <footer class="site-footer"> <div class="container"> <div class="footerlinks"> <a href="https://www.tutorsglobe.com/">Home</a> | <a href="https://www.tutorsglobe.com/about-us.aspx">Company Overview</a> | <a href="https://www.tutorsglobe.com/services.aspx">Services</a> | <a href="https://www.tutorsglobe.com/library/">Discover Q&A</a> | <a href="https://www.tutorsglobe.com/sitemap.aspx">Sitemap</a> | <a href="https://www.tutorsglobe.com/contact-us.aspx">Contact Us</a> | <a href="https://www.tutorsglobe.com/terms-and-conditions.aspx">T & C</a> | <a href="https://www.tutorsglobe.com/refundcancelpolicy.aspx">Refund Policy</a> | <a href="https://www.tutorsglobe.com/copyright-infringement-policy.aspx">Copyright Policy</a> | <a href="https://www.tutorsglobe.com/blog/archive/">Blog</a> | <a href="https://www.tutorsglobe.com/library/archive.aspx">Q&A</a> | <a href="https://www.tutorsglobe.com/education-directory.aspx">Directory</a> </div> <p>©TutorsGlobe</a> All rights reserved 2022-2023. </p> <script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "product", "name": "Tutorsglobe", "image": "https://www.tutorsglobe.com/IncludeLib/Images/logo.png", "description": "elearning Platform - Tutor Service", "brand": { "@type": "elearning", "name": "Tutorsglobe" }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.9", "ratingCount": "37128" } } </script> <a href="#" class="settings"><i class="fa fa-angle-up"></i></a> <ul class="social-icons"> <li><a href="https://www.facebook.com/TutorsGlobe" rel="nofollow" target="_blank"><i class="fa fa-facebook-square"></i></a></li> <li><a href="https://twitter.com/Tutorsglobe" rel="nofollow" target="_blank"><i class="fa fa-twitter-square"></i></a></li> <li><a href="#" rel="nofollow"><i class="fa fa-youtube-square"></i></a></li> <li><a href="https://www.linkedin.com/company/tutorsglobe" target="_blank" rel="nofollow"><i class="fa fa-linkedin-square"></i></a></li> </ul> </div> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32333066-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.tutorsglobe.com/IncludeLib/js/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-5E9QFMFDJR"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-5E9QFMFDJR'); </script> </footer> </div> <!-- /pageWrap --> <div class="overlay"> </div> <!-- JavaScript Files ================================================== --> <script type="text/javascript" src="../IncludeLib/js/jquery-1.11.2.min.js"></script> <script type="text/javascript" src="../IncludeLib/js/bootstrap.min.js"></script> <script type="text/javascript" src="../IncludeLib/js/jquery.mCustomScrollbar.concat.min.js"></script> <script type="text/javascript" src="../IncludeLib/js/script.js"></script> <script type="text/javascript" src="../IncludeLib/js/ie10-viewport-bug-workaround.js"></script> <script type="text/javascript"> //<![CDATA[ var Page_Validators = new Array(document.getElementById("RequiredFieldValidator1")); //]]> </script> <script type="text/javascript"> //<![CDATA[ var RequiredFieldValidator1 = document.all ? document.all["RequiredFieldValidator1"] : document.getElementById("RequiredFieldValidator1"); RequiredFieldValidator1.controltovalidate = "txtcomments"; RequiredFieldValidator1.errormessage = "Write atleast 100 words!!"; RequiredFieldValidator1.validationGroup = "Review"; RequiredFieldValidator1.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid"; RequiredFieldValidator1.initialvalue = ""; //]]> </script> <script type="text/javascript"> //<![CDATA[ var Page_ValidationActive = false; if (typeof(ValidatorOnLoad) == "function") { ValidatorOnLoad(); } function ValidatorOnSubmit() { if (Page_ValidationActive) { return ValidatorCommonOnSubmit(); } else { return true; } } //]]> </script> </form> </body> </html>