Dave Francis wrote:
> How would one go about adding another text input field to a form when a user
> clicks a "more" button?

Put the field in your form and hide it with CSS / javascript until the 
user clicks the "more" button.

If you use the same technique for hiding (i.e. the same DOM methods) as 
for displaying you have the added advantage that you have a 'fail open' 
form: if something goes wrong in the javascript the form will still be 
accessible. If you use different methods for displaying and hiding you 
might create a 'fail close' system: the method for hiding works but the 
method for displaying doesn't and your form is no longer accessible.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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

Reply via email to