close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

required fields on checkout page

Thread began 11/09/2012 5:45 am by mail393820 | Last modified 11/30/2012 3:39 am by mail393820 | 2553 views | 9 replies |

mail393820

required fields on checkout page

Hi. I've created a store using eCart and Universal Email. Can anyone tell me how I can ensure that customers enter a contact email address. At the moment it's not a required field. I would be very grateful for advice and a steer in the right direction.
Thanks in advance.

Sign in to reply to this post

Jason ByrnesWebAssist

on the eCart support page, in the Videos tab, there is a tutorial titled "Add server validation to your web forms" that walks through adding validation to the eCart checkout form. the example in the tutorial deals with validating the Credit Card fields, but the same concept applies to validating the email address.

ecart/

Sign in to reply to this post

mail393820

Thanks Jason. I've just watched the video tutorial as suggested but can't follow as I don't seem to have "WebAssist>Validation>Server Validation" in my server behaviours panel. Any ideas of what's wrong? Many thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

what extensions do you have?

Validation is included with Data Bridge, or if you have an older extension suite with CSS Form Builder 2.

In CSS Form Builder, the access point is under Insert -> WebAssist -> Validation -> Server validation

Sign in to reply to this post

mail393820

Thanks for the speedy reply Jason. I have eCart, Mail and others but i don't think i have form builder. Any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

you need to have either Form Builder of Data Bridge in order to use server validation.

the only other option is to use Spry Validation that is built into Dreamweaver.


the draw back of spry validation is that it can be easily ignored by turning javascript off in the browser.

here is a spry tutorial i found through Google:
watch?v=EdkQUEpLHdk

Sign in to reply to this post

mail393820

Thanks Jason. I'll give spry a go as it's the cheaper option although not the best.

Sign in to reply to this post

mail393820

I've tried adding the spry validation to the email address field. The validation now works but it's stopped the email confirmation being sent so have had to remove it again. Can anyone tell me what part of the code I need to amend in order for the server to validate the email address field? It doesn't even have to validate as an email address, I just want it as a required field.
Many thanks.
Matt

Sign in to reply to this post

Jason ByrnesWebAssist

when you convert the email address filed to a spry validation text field, make sure that the name of the element does not change.

make not of the name of the original email address form element, then convert it to a spry validation element, and make sure that the name of the new element is the same as the original email address form field.

Sign in to reply to this post

mail393820

Thanks for all your help Jason. That worked!

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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