close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Required Field

Thread began 12/07/2009 12:20 am by Codesnap | Last modified 12/08/2009 7:06 pm by siteontime | 764 views | 3 replies |

Codesnap

Required Field

I'm using PowerStore 2 (on a Mac using Dreamweaver 3) to run a wine store. Part of the agreement with the local liquor licensing organisation is that we have to have a compulsory Terms & Conditions Agreement checkbox.

I figure I need to use CSS Form Builder (which I own) to add a client / server validation to check that it's checked. I've attempted to use the "Modifying an existing form with CSS Form Builder" PDF (modifying_custom_form.pdf) to add this validation, but it doesn't make sense to remove all validations and then add them all back again.

Setting up the checkbox was easy enough ...

<input name="tcagree" type="checkbox" id="tcagree" value="1" />

... but it seems as though to get it validated as being required is a rather large amount of work for what it is. Have I misunderstood the process or is there a simpler way?

Sign in to reply to this post

siteontimeBeta Tester

I have added that to several of the carts that I have done. With Dreamweaver it is very simple. You only need to add a Spry Checkbox . Check the box in the spry behaviors that indicates required. The form won't submit unless the box is checked. They can't complete checkout unless this is checked.

Hope that helps.

Sign in to reply to this post

Codesnap

Thanks

Thanks for that, Jennifer. Solved the issue beautifully.

Sign in to reply to this post

siteontimeBeta Tester

Glad it worked for you.

Sign in to reply to this post

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