RE: greying out part of a form

2007-11-09 Thread William Seiter
If you use this method (which I think is the best visually), be careful on
your 'action' page.  Different browsers treat the 'visibility:hidden' form
elements in a different manner.  In some browsers, that 'hidden' section is
sent with the form.  In other browsers, that section is considered 'not
there' and thus those values are not sent.

This will require extra attention to paraming, and the sort.

Good luck,
William 

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer 
http://William.Seiter.com

-Original Message-
From: Azadi Saryev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 10:46 PM
To: CF-Talk
Subject: Re: greying out part of a form

instead of 'greying out' parts of form and making your users scroll 
up/down past these disabled elements, consider putting conditional parts 
of your form in a div (or some other container) and hiding/un-hiding 
them as needed.  you can do this by changing displayand/or visibility 
style attributes of the container div.

-- 

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293016
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: greying out part of a form

2007-11-09 Thread Bobby Hartsfield
I'd use display:none; instead of visibility but in either event, I've never
seen parts of a form not get posted with the rest of the form just because
it was hidden via css.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com




~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293024
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: greying out part of a form

2007-11-09 Thread Andy Matthews
disabled=true 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 9:34 PM
To: CF-Talk
Subject: RE: greying out part of a form

Set the fields to 'disabled' when you don't want them used.

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com






~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293028
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: greying out part of a form

2007-11-09 Thread Bobby Hartsfield
Yes... that would be setting them to 'disabled'

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 09, 2007 9:07 AM
To: CF-Talk
Subject: RE: greying out part of a form

disabled=true 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 9:34 PM
To: CF-Talk
Subject: RE: greying out part of a form

Set the fields to 'disabled' when you don't want them used.

:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com








~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293049
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: greying out part of a form

2007-11-08 Thread Brian Love
Toby:
  You can do this using the disabled property of the form elements, which can 
be set on page load using the disabled attribute of the form element tag or 
programmatically using JavaScript to set the value to true or false.

Hope this helps,
Brian

 Hi there
 
 I have a form which I am getting users to complete.
 
 Based on the result of choosing various options on the form I would 
 like somehow to grey out sections on the form (basically so that if a 
 user selects on option they then go on to fill the appropriate section 
 of the form and the other area is greyed out and cant be used).
 
 Thanks in advance 


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292984
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: greying out part of a form

2007-11-08 Thread Bobby Hartsfield
Set the fields to 'disabled' when you don't want them used.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com




~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293008
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: greying out part of a form

2007-11-08 Thread Azadi Saryev
instead of 'greying out' parts of form and making your users scroll 
up/down past these disabled elements, consider putting conditional parts 
of your form in a div (or some other container) and hiding/un-hiding 
them as needed.  you can do this by changing displayand/or visibility 
style attributes of the container div.

-- 

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293012
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4