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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

show / hide content based on a drop down

Thread began 9/12/2014 8:22 am by Jamie | Last modified 9/15/2014 4:02 pm by Jamie | 1585 views | 8 replies

Jamie

show / hide content based on a drop down

Hey Jason

On the attached _insert and _results pages I have used a checkbox (named 'GuestSpeaker') to show/hide to text fields (NonMemberName and NonMemberCompany) which I got and adjusted slightly from another thread (http://www.webassist.com/forums/posts.php?id=32553) This works great but I have 2 questions.

1. I have a drop down (MemberName) on the same page which has an option Guest Speaker (this is in row 1 of the table in the datbase) and would like to use that instead of the check box to determine the show/hide for the above and update the column in the database for 'GuestSepaker' as the current checkbox does.

2. on the _update page, at the moment if the GuestSpeaker is checked (in the database set to 1) and you go to an entry that has this set, it doesnt automatically show the hidden fields even though the checkbox is pre-ticked. How would I get it to automatically show the content if the db column is set to 1?

Thanks

Jamie

Attached Files
presentations_insert.php
presentations_update.php

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