Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Gábor Papp
Added: Oct 22, 2020 9:12 AM
Views: 9
Tags: no tags
  1. <script language="JavaScript">
  2. // <form id="contactform" name="contactform" class="uzenetkuldo" action="/kapcsolat/send" method="post" onSubmit="return uellenorzes(this)">
  3. function uellenorzes() {
  4.     if (document.contactform.nev.value=="" ||
  5.         document.contactform.emailcim.value=="" ||
  6.         document.contactform.uzenet.value=="" ||
  7.         !document.contactform.adatvedelem_elfogadasa.checked
  8.         ) {
  9.         alert("Kérjük a *-gal jelölt adatokat mindenféleképpen töltse ki!");
  10.         return false;
  11.     }
  12. }
  13. </script>
  14.