Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

automatice prevent default the form in php

<form id="sign-up" action="index.php" method="post">
  <label for="user-name">Username</label>
  <input id="user-name" type="text" name="username" required/>

  <label for="user-email">Email</label>
  <input id="user-email" type="email" name="email" required/>

  <input type="submit" name="submit" value="Sign Up" />
</form>
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #automatice #prevent #default #form #php
ADD COMMENT
Topic
Name
1+1 =