close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adding Checkboxes to Form

Thread began 5/07/2009 4:54 pm by jurinski334466 | Last modified 5/26/2009 1:26 pm by jurinski334466 | 43662 views | 18 replies

jurinski334466

Thanks, Ray. Mired in the details of converting an old form, I couldn't see the obvious. The form functions now except for problems with checkbox validation.

In defense of my blunder, the Contact Form did not come with any specific instructions about how & where to install all the files. Absent WA directions, I followed the instructions in the "Simple Steps to Contact Form Solution Pack and Dreamweaver" posting in the old Forum Archive and some other posts and came to the wrong conclusions.

It would be very helpful if WA products could include basic installation information with each product and with each download. New, infrequent, and forgetful users could start using your products with confidence, while more experienced users could ignore the info. For the inexperienced, it's the difference between "Oh crud! Where do all these files go and what do I do now?" and "Great! Let's get started!"

Back to validating the checkboxes:
1. Is there a way to use the VTK or Spry to stop the form from submitting if one of the check boxes has not been checked?
I tried to expand the Spry Checkbox validation around the checkbox group but that did not work. (Perhaps because the Spry <span> tag would have to surround block-level elements?)

2. Or if the WA tools can't be configured to work, do I need to create some sort of php array to check the boxes? If I do, where do I insert the code to integrate with the CF code? On the form itself or somewhere else?

3. Is there a way to make the checkboxes sticky? I have tried adding the WA Validated Entries to the checkbox code, but the information is lost if another error causes the page to reload.

<td colspan="2" class="bluexxs"><label>
<input name="course1" type="checkbox" id="course1" value="<?php echo(ValidatedField("regis","course1")) ?>" />
</label>
p.m. </td>

I would appreciate any advice you have or can point me to so I can get this form working. Thanks again for your advice and help.

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