close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Jquery Validation Phone problem

Thread began 11/15/2019 11:17 am by p_vouers282571 | Last modified 11/15/2019 3:35 pm by Ray Borduin | 207 views | 1 replies |


Jquery Validation Phone problem

I am sure it is me BUT here is the code.

<?php require_once("webassist/email/WA_Email.php"); ?>
if (($_SERVER["REQUEST_METHOD"] === "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) { //WA Universal Email
$Email = new WA_Email("memail");
$Email->Redirect = "thanks.php";
$Email->From = "";
$Email->Host = "";
$Email->Port = "465";
$Email->addTo("".((isset($_POST["email"]))?$_POST["email"]:"") ."");
$Email->BodyFile = "webassist/email/templates/WebAssist-Block/Block_4.php";
if (function_exists("rel2abs") && $Email->Redirect) $Email->Redirect = $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
for ($emailGroup=0; $emailGroup<sizeof($Email->To); $emailGroup++) {
$Email->Subject = "testmail";
<!doctype html>
<meta charset="utf-8">
<title>Untitled Document</title>
<link rel="stylesheet" href="webassist/jq_validation/Bloom.css" />

<p>try and get jquery to work</p>
<form action="" method="post" name="form1" id="form1">
<p>full name
<input type="text" name="fname" id="fname">
<input type="text" name="phone" id="phone" pattern="\(\d{3}\) \d{3}[\-]\d{4}">
<input type="email" name="email" id="email" pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}">
<input type="submit" name="send" id="send" value="send">
<script src="//"></script>
<script src="//"></script>
<script src="webassist/jq_validation/jquery.h5validate.js"></script>
var form1_Opts = {
focusout: true,
focusin: false,
change: false,
keyup: false,
popupClass: "Bloom",
pointedAt: "left",
fieldOffset: 10,
fieldMargin: 2,
position: "left",
direction: "left",
border: 1,
offset: 25,
closeText: "✖",
percentWidth: 100,
orientation: "bottom"
function form1_Validate() {
$(document).ready(function () {

A live link would be:

Sign in to reply to this post

Ray BorduinWebAssist

What is the issue exactly? What are you entering? It looks like you are validating a strict format for phone number. When I enter it as: (313) 333-2333 then it passes.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...