How to completely disable form validation in qcLoaded?

m00kie

No avatar

2006-03-21 19:20

Using qcLoaded 1.2

I know where to find the template file (orders_delivery.tpl) that contains the order form where the customer fills out their information.

Is there a way that I can completely disable the validation process and bypass it?

For some reason, I keep getting errors that the form is not completely filled out, although it is.

I can manually insert "Required" text in the form labels to visually cue the user to enter the required info.



<script type='text/javascript' src='$config[dir_js]checkForm.js'</script>
<script type='text/javascript' src='$config[dir_js]ordersCouriers.js'> </script>

<form action='?p=$p' method='post' enctype='multipart/form-data' onsubmit='return checkForm( this, 
  Array(
    Array( "sFirstName" )
    ,Array( "sLastName" )
    ,Array( "sStreet" )
    ,Array( "sZipCode" )
    ,Array( "sCity" )
    ,Array( "sTelephone", "tel" )
    ,Array( "sEmail", "email" )
    ,Array( "iCourier", "simple", "$lang[Choose_courier]" )
  )
);' name='form'>




m00kie

No avatar

2006-03-21 19:31

I edited the above code to this state, and I'm still getting the validation error, is there something else that I'm missing:



<script type='text/javascript' src='$config[dir_js]ordersCouriers.js'</script>

<form action='?p=$p' method='post' enctype='multipart/form-data'  'name='form'>



m00kie

No avatar

2006-03-21 19:34

http://dohertymachine.com/qcLoaded - link to the page so you can view source and do a test order.

Deloy

No avatar

2006-03-30 02:48

I have the same problem, if you solved yet please tell my

Deloy

Deloy

No avatar

2006-03-30 05:32

I solved my problem !.
I insert in the phone number fill this simbol "-", and always see the same error: "completely all filleds", and the program back my to the form.
Now, insert the phone number alone without simbols (- or .) and all work right.

perhaps aid
perhaps serves

byes

Deloy

Back to top
about us | contact