I am having a form with a text input field. The text input need to be validated simultaneously when the user enters the data.
<form method="post" action="Newsletter/tester.php">
<label for="email">email</label>
<input type="text" name="email" placeholder="Enter your email *" maxlength="50" required>
<input type="submit" value="test">
</form>
The input email
textbox should be validated on the server side, but I don't have any idea about validating the text field while typing.
Is there any way to do it using php script?