Sure:

<input type="radio" onclick="showHide()" value="true" 
name="UseDifferentShippingAddress">

<div id="DifferentShippingAddress" style="display:none">
<inputs with values>
</div>

function showHide(){
if($(this).is(":checked")){
$("#DifferentShippingAddress").show();
}
else{
$("#DifferentShippingAddress").hide();
}
}

This is untested but basically the div uses a showhide function that toggles 
the form to be visible using the radio controller. You'll need to handle to 
blank fields in your CF logic no matter if it shows or not. You can use a case 
statement against form.UseDifferentShippingAddress to decide if you want to 
include the other form fields. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327127
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