Error Checking for DirectPay Form ecart5
I searched for error checking code on the forums but did not find any. Hence this request.
Is there code that I can use to check the form fields (Name, credit card, expiry date .. etc)
during the checkout process ? At least a Not empty check ?
Usually how is this implemented in eCart 5 ? If there is a form that captures data, shouldn't there be error checking to go with it ? If a client enters a bad number or forgets to enter some field it is useful for them to be shown what needs to be filled with an asterisk or a list of what was left blank.
USing ecart 5 with Paypal Pro. Using both Express checkout and a local Do Direct Pay option.
Any help will be really appreciated since my knowledge of php is rudimentary.


You would get CSS Form Builder with the extension library membership. You would want to install that and go to Insert->WebAssist->CSS Form Builder->Client Validation. then you would choose the checkout form and then you would add the validations you want for each of the forms. It might be a good idea to go through the Form Builder documentation in the support pages before applying any validations:
