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

I need to add more selection fields to form

Thread began 12/02/2009 6:41 am by michaelf0199272 | Last modified 12/03/2009 6:56 pm by Eric Mittman | 827 views | 3 replies |

michaelf0199272

I need to add more selection fields to form

I will like to add more fields to the contact form built using CFB. This is so that visitors can click on the appropriate selection box to indicate the area of their needs.

Q: How do I make this happen??


Thanks,

Michael

Sign in to reply to this post

Eric Mittman

You can use the CSS Form Builder interface to edit the elements in the form and add in the ones that you need. The idea is that you click on edit contents with the form selected. Then in here you click on the group in the fieldset and click edit. You then select the line you want the element to appear in or create a new line and add the element. Once you have added the element you can change it's type with the select list. You can choose individual checkboxes or a checkbox group.

This info is covered in the Getting Started Guide for CSS Form Builder here:

form_builder_gsg.pdf

You will want to check out the section titled Customizing form elements and modifying validation.

Sign in to reply to this post

michaelf0199272

Selection checkbox came up all check when page is loaded.

Many thanks Eric. I have made the modifications that I wanted to make.

There is this other problem -- when is ljcontact100109.php is launched, all the three slection options came up checked. I will like them to come loaded unchecked.

Q: Is there somewhere on the code where this can be done.

--- I made the changes for value="1" to value="0" for the check boxes, but the boxes are still coming up checked when the page is loaded.

"<input type="checkbox" name="GBF_Contact_Us_Form_group_Select_to_share_your_Testimonies" id="GBF_Contact_Us_Form_group_Select_to_share_your_Testimonies" value="0" class="formCheckboxField_Standard" checked="checked" tabindex="3" />
</label>
<span class="checkboxRequiredMsg"> </span> </span> </div>
</div>
</div>
</div>
</div>
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="GBF_Contact_Us_Form_group_Select_for_prayer_request" class="sublabel" >Select for prayer request::</label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="GBF_Contact_Us_Form_group_Select_for_prayer_request_Spry">
<label class="checklabel" for="GBF_Contact_Us_Form_group_Select_for_prayer_request" onblur="hideServerError('GBF_Contact_Us_Form_group_Select_for_prayer_request_ServerError');">
<input type="checkbox" name="GBF_Contact_Us_Form_group_Select_for_prayer_request" id="GBF_Contact_Us_Form_group_Select_for_prayer_request" value="0" class="formCheckboxField_Standard" checked="checked" tabindex="4" />
</label>
<span class="checkboxRequiredMsg"> </span> </span> </div>
</div>
</div>
</div>
</div>
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="GBF_Contact_Us_Form_group_Select_to_offer_your_comments" class="sublabel" >Select to offer your comments::</label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="GBF_Contact_Us_Form_group_Select_to_offer_your_comments_Spry">
<label class="checklabel" for="GBF_Contact_Us_Form_group_Select_to_offer_your_comments" onblur="hideServerError('GBF_Contact_Us_Form_group_Select_to_offer_your_comments_ServerError');">
<input type="checkbox" name="GBF_Contact_Us_Form_group_Select_to_offer_your_comments" id="GBF_Contact_Us_Form_group_Select_to_offer_your_comments" value="0" class="formCheckboxField_Standard" checked="checked" tabindex="5" />
</label>"
Once again thanks,

Michael

Sign in to reply to this post

Eric Mittman

In DW you can change this in the property inspector. Just select the checkbox on the page and in the property inspector for the initial value select 'unchecked'. In your code it is the checked="checked" part that is making the checkbox checked by default.

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