Style problem and form validation

KevMach

No avatar

2006-03-16 13:19

I'm trying to personalise my version of QC to blend in with my sites' design, all is OK, except I've added a background colour to the 'content' class - it appears fine in IE, but not in any other browser.

Also, how can I completely delete the courier field in the delivery form? As I've deleted the field in the form, but when testing the form, it still asks for all fields to be filled in. Must say, the form validation is a bit weak in this program..

I'm using version 1.0 - I really don't want to upgrade as the plug-ins don't work in other versions!

wewior (OpenSolution)

Avatar: wewior

2006-03-16 23:21

just delete line for courier:

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



line you should remove is:
,Array( 'iCourier', 'simple', '$lang[Choose_courier]' )

if you have better idea for form validation we are open for it

wizzud

No avatar

2006-03-17 17:19

Whatever plugins work in v1.0 should also work in subsequent versions.

m00kie

No avatar

2006-03-21 05:16

<b>In which file does the editing referenced in wewior's post get done?</b>

KevMach

No avatar

2006-03-22 20:56

I've tried deleting all of the check form code, and it still says that field aren't filled out??!!

What's going on?!

KevMach

No avatar

2006-03-24 12:35

Well I've deleted the relevant code from the 'orders.php' file, and the form doesn't validate itself now.. just need to add my own validation..looking forward to that..

Back to top
about us | contact