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

Checkout Page Form Field Validation

Thread began 12/10/2009 6:34 pm by Kevin373660 | Last modified 12/16/2009 8:43 pm by Kevin373660 | 14220 views | 7 replies


Checkout Page Form Field Validation

Using eCart 4.5.2 and the Validation Tool Kit 2.3.5 I would like to set up validation for the fields in the checkout.php form that contains both the users Billing and Shipping information. I have done this before for single forms however I am not sure how to approach this if:

1. The user may select the option “Same as billing address” which allows the shipping fields to be automatically populated.

2. If an order does not require Shipping information, as in the case of items that do not need to be shipped (ex. digital downloads).

I have set up a session variable that will tell if the order needs shipping services. Currently, only a message pops up to say that this information is not required. I would prefer to hide that part of the form if not required. I believe that it is called a show/hide region server behaviour but I have never had success trying to create on my own.

From what I have read I belive that I need to split the form in two and use the same name for both? What is the best approach to show/hide the shipping part and apply validation to both sections billing and shipping?

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...