Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2006, 11:21 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default validation in dreamweaver

 I am designing a registration form in dreamweaver wherein a text field should be editable only if a particular radiobuttion is checked. how do i go about doing that?

-Harshad
 
Old June 15th, 2006, 11:46 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You'll need some JavaScript for this. In the onclick of each radio button, you can set the disabled property of the textbox to either true or false.

I think you're better off posting this in the JavaScript forum if you need more help with this.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004





Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone validation + web form validation morbo Struts 0 August 19th, 2008 04:02 AM
Validation using Validation Framework kalyangvd Struts 1 January 2nd, 2008 06:53 AM
Problem with textbox validation in Dreamweaver phudong3da Dreamweaver (all versions) 2 October 17th, 2005 01:08 PM
Dreamweaver help savinay Dreamweaver (all versions) 1 November 11th, 2004 02:00 PM
DREAMWEAVER HELP dvlnblk Dreamweaver (all versions) 1 April 22nd, 2004 02:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.