Closed

Java Script Validator Fix

I have a webpage with validation Java Script software to check for entries in diferent ways. Its written as a customer validation. It works erratically and not across all platforms. It also doesn't set focus on the missing field when the error message is closed.

The way it should work is by checking that at least one line item has been entered and that each line item entered has all the required fields completed.

This needs fixing and operational on all platforms. IE, Firefox Android and Safari for Mac and Ipad,(very important!)

A copy of the java code is pasted below:

<script language="javascript" type="text/javascript">

var frmvalidator = new Validator("ItemRecZZZ");

[url removed, login to view]("QtyOrdered1","numeric","Qty Must be a Number");

[url removed, login to view]("QtyOrdered1","maxlen=80");

[url removed, login to view]("QtyOrdered2","numeric","Qty Must be a Number");

[url removed, login to view]("QtyOrdered2","maxlen=80");

[url removed, login to view]("QtyOrdered3","numeric","Qty Must be a Number");

[url removed, login to view]("QtyOrdered3","maxlen=80");

[url removed, login to view]("MfgItemNum1","Req","Please Enter ItemNum");

[url removed, login to view]("MfgItemNum1","maxlen=80");

[url removed, login to view]("MfgItemNum2","Req","Please Enter ItemNum");

[url removed, login to view]("MfgItemNum2","maxlen=80");

[url removed, login to view]("MfgItemNum3","Req","Please Enter ItemNum");

[url removed, login to view]("MfgItemNum3","maxlen=80");

[url removed, login to view]("UnitPrice1","decimal ","Please Enter Price");

[url removed, login to view]("UnitPrice1","maxlen=80");

[url removed, login to view]("UnitPrice2","decimal ","Please Enter Price");

[url removed, login to view]("UnitPrice2","maxlen=80");

[url removed, login to view]("UnitPrice3","decimal ","Please Enter Price");

[url removed, login to view]("UnitPrice3","maxlen=80");

[url removed, login to view]("ManufacturerID1","Req","Please Select Manufacturer");

[url removed, login to view]("ManufacturerID1","maxlen=80");

[url removed, login to view]("ManufacturerID2","Req","Please Select Manufacturer");

[url removed, login to view]("ManufacturerID2","maxlen=80");

[url removed, login to view]("ManufacturerID3","Req","Please Select Manufacturer");

[url removed, login to view]("ManufacturerID3","maxlen=80");

[url removed, login to view]("Description1","alphanumeric_space","Description contains invalid characters");

[url removed, login to view]("Description1","maxlen=80");

[url removed, login to view]("Description2","alphanumeric_space","Description contains invalid characters");

[url removed, login to view]("Description2","maxlen=80");

[url removed, login to view]("Description3","alphanumeric_space","Description contains invalid characters");

[url removed, login to view]("Description3","maxlen=80");

/* Custom Validation */

function DoCustomValidation()

{

var frm = [url removed, login to view]["ItemRecZZZ"];

if([url removed, login to view] == "" && [url removed, login to view] =="" && [url removed, login to view] == "")

{

alert('All Qty Fields are empty you must have at least one value');

return false;

}

else

if(frm.id=[url removed, login to view] == "" && [url removed, login to view] =="" && [url removed, login to view] == "")

{

alert('All Ite

Skills: Javascript, PHP, Software Architecture

See more: firefox android, android firefox, frmvalidator custom, price alert, numeric, javascript java, java code, ite, fixing java, fix android, android fixing, javascript required field validation, validation script php, java text message, php code java, text alert, script alert, script mac, ipad javascript, invalid script, java code description, java code php, javascript code validation, mac check, android php code

About the Employer:
( 0 reviews ) United States

Project ID: #1258269

8 freelancers are bidding on average $41 for this job

toinnisfree

quick pro help. ftp and escrow required.

$75 USD in 1 day
(552 Reviews)
7.9
lsweb

Hello. Please check your PM. Thanks.

$45 USD in 1 day
(76 Reviews)
6.5
HeNet

Experience in client side code. Will do your work just for fun.

$30 USD in 1 day
(46 Reviews)
6.2
tamrakar81

I can do this job for you with a very high quality and [url removed, login to view] refer to PMB for more details

$40 USD in 1 day
(30 Reviews)
4.8
sumannath

Hi!! It seems I understand the project. Please check PMB.

$30 USD in 0 days
(17 Reviews)
4.4
Manchasterz

I am ready for this job , please provide me [url removed, login to view]

$50 USD in 0 days
(19 Reviews)
4.2
mjstyles

I can have this completed in minutes. Please see PMB.

$30 USD in 0 days
(0 Reviews)
0.0
tzvir

can be done in an hour or two

$30 USD in 0 days
(0 Reviews)
0.0
prem26

I Have An Experiance In Php Technology with PHP,JQUERY,AJAX,MYSQL,CSS,JSON,SMARTY So Is There any Work Related this Technology So I Can Do It and my Recent Project Work In Stock Broking website in Php [url removed, login to view] More

$40 USD in 2 days
(0 Reviews)
0.0