close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Should this be done with VT

Thread began 10/31/2009 5:31 pm by dean248377 | Last modified 11/03/2009 7:26 pm by Eric Mittman | 1354 views | 3 replies |

dean248377

Should this be done with VT

I want to have a series of checkboxes that depending which one i check it reveals a different search form. So I have a checkbox named "name". When this is checked or unchecked I want a search form that I have revealed. ! also for date and so on..

Dean

Sign in to reply to this post

Eric Mittman

You can do this using client side validations on your form. The idea is that you apply the required validations on the checkbox and as a response to that validation you use the show/hide layer response. In this show hide response you select the triggering form element, the checkbox, then the target for element, your text field for that checkbox. You then specify 'if trigger is valid' then 'show target layer'.

I'm including an example of this on a page so that you have a reference.

Attached Files
show_hide_checkbox.zip
Sign in to reply to this post

dean248377

Can't see how this is suppose to work since there is no layer on the page. No matter what I do the show/hide layer behavior wants a layer.

Dean

Sign in to reply to this post

Eric Mittman

When you are applying the show hide layer response you should be able to choose the triggering form element and for the layer you should be able to select the input from your form. If you do not see your input available it might be missing an id attribute, if this is the case you should make sure to add this in for each element on the page. All form elements should have a name and id, I usually use the same value for both of these attributes of an element.

I'm including a screen shot of what the behavior looks like on the example page, you should open this page in DW to get a feel for how the form and elements should be setup.

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