<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<form method="post" action="form.php">
Price : From
<input type="text" id="price-from">
To:
<input type="text" id="price-to">
<input type="submit">
</form>
</body>
</html>
I want to validate price range ..Price From must be less than Price To.