House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

The visible attribute with Flash forms

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

The visible attribute with Flash forms

Cheers ! Andy Jarrett 07/23/2006 06:56 PM
When visible is set to false set the height to a negative number. Kelly Keith 07/20/2006 11:09 AM
Does anyone know how to remove the white gap created when you set Andy Jarrett 07/20/2006 08:38 AM

07/23/2006 06:56 PM
Author: Andy Jarrett Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46885#247436 Cheers ! ----- Excess quoted text cut - see Original Post for more -----
07/20/2006 11:09 AM
Author: Kelly Keith Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46885#247185 When visible is set to false set the height to a negative number. Does anyone know how to remove the white gap created when you set visible="false" in <cfform>. The idea is that based on a selected the form will show 2 different radio buttons. With HTML and CSS this would be easy, but I can't see how to do this with the Flash Forms. I have the following bit of code as an example of what I am trying to do <cfform format="flash" name="myform">   <cfselect name="myfield" id="myfield">     <option value="XXXXX">Yes</option>     <option value="YYYYY">No</option>   </cfselect>      <cfinput type="radio" name="payment_type" id="payment_type" value="1" label="Payment option 1"     visible="{(myfield.text == 'Yes')?true:false}"/>   <cfinput type="radio" name="payment_type" id="payment_type" value="2" label="Payment option 2"     visible="{(myfield.text == 'Yes')?true:false}"/>   <cfinput type="radio" name="payment_type" id="payment_type" value="3" label="Payment option 3"     visible="{(myfield.text == 'No')?true:false}"/>   <cfinput type="radio" name="payment_type" id="payment_type" value="4" label="Payment option 4"     visible="{(myfield.text == 'No')?true:false}"/> </cfform> Cheers Andy J www.andyjarrett.co.uk
07/20/2006 08:38 AM
Author: Andy Jarrett Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46885#247166 Does anyone know how to remove the white gap created when you set visible="false" in <cfform>. The idea is that based on a selected the form will show 2 different radio buttons. With HTML and CSS this would be easy, but I can't see how to do this with the Flash Forms. I have the following bit of code as an example of what I am trying to do <cfform format="flash" name="myform">   <cfselect name="myfield" id="myfield">     <option value="XXXXX">Yes</option>     <option value="YYYYY">No</option>   </cfselect>      <cfinput type="radio" name="payment_type" id="payment_type" value="1" label="Payment option 1"     visible="{(myfield.text == 'Yes')?true:false}"/>   <cfinput type="radio" name="payment_type" id="payment_type" value="2" label="Payment option 2"     visible="{(myfield.text == 'Yes')?true:false}"/>   <cfinput type="radio" name="payment_type" id="payment_type" value="3" label="Payment option 3"     visible="{(myfield.text == 'No')?true:false}"/>   <cfinput type="radio" name="payment_type" id="payment_type" value="4" label="Payment option 4"     visible="{(myfield.text == 'No')?true:false}"/> </cfform> Cheers Andy J www.andyjarrett.co.uk
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference