Jump to content

load text in a page


ShaolinF

Recommended Posts

try this instead:

 

<form action="continue.php" method="post" name="signup" onSubmit="return myformcheck()">
<p align="center">
Username: <input type="text" name="name" size="20"><br>
Password: <input type="text" name="contact" size="20"><br>
E-mail : <input type="text" name="email" size="20"><br>

<input type='submit' value='Go'>	

<script language="Javascript">
  function postregister()
  {		  
	  if ((document.signup.name.value == '') || (document.signup.contact.value == '') || (document.signup.email.value == ''))
	  {
		alert('You have to enter a valid name, contact number and email.');
	  }
	  else
	  {
		document.signup.submit();
	  }
  }
</script></form>

 

post back to let me know if it works.

Link to comment
https://forums.phpfreaks.com/topic/73182-load-text-in-a-page/#findComment-369273
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.