Generate Comp based on dropdown list and checkbox selection?

I currently have a dropdown list with three sizing options in it. Then I have two check mark boxes, one if checked ideally would create the template at its normal composition size and if the other checkbox is checked it would inverse the widthxheight of the composition size. Then below that I have a "generate" button that I want to be able to click and depending on my selections it creates the comp.
It sounds like I need some sort of if then statement but I'm having a hard time putting the two together. See below what I have so far.
There may be parts missing but I have it all working in a decibel pallate currently. I just don't have the functionality tied to a button yet.
Any help would be much appreciated!!!
(also I don't know how to format the extend script on here so apologies for that)
// palette controls
templateGen.VerticalCheckbox     = new Object();
templateGen.HorizontalCheckbox    = new Object();
// define values for the controls
templateGen.comLookup            = new Object();
templateGen.compLookup          = 'Template1';
templateGen.compLookup          = 'Template2';
templateGen.compLookup          = 'Template3';
function templateGen_getHashValues(hash)
  var ary = new Array();
  for (k in hash) {
  ary.push(hash[k]);
  return ary;
// "composition" menu
   var panelGrp1 = templateGen.palette.add('Panel', undefined, 'Comp Templates');
  compGrp1 = panelGrp1.add('group', undefined, 'Templates List');
  compGrp2 = panelGrp1.add('group', undefined, 'Orientation');
  compGrp3 = panelGrp1.add('group', undefined, 'Generate');
  templateGen.compList                                             = compGrp1.add('dropdownlist', LIST_DIMENSIONS, templateGen_getHashValues(bapple.compLookup));
  templateGen.compList.helpTip                                = "Choose the type device template you want here. All comps are 60fps.";
  templateGen.compList.selection                             = 'Template1';
  templateGen.compList.graphics.foregroundColor  = darkColorBrush;
  templateGen.VerticalCheckbox                           = compGrp2.add('checkbox', undefined, 'Vertical');
templateGen.VerticalCheckbox .value = true;
  templateGen.HorizontalCheckbox                          = compGrp2.add('checkbox', undefined, 'Horizontal');
  templateGen.HorizontalCheckbox .value = false;
templateGen.generateBtn1      = compGrp3.add('button', undefined, 'Generate');
  //applyBtn.onClick =????;

When I work with dropdowns I always like to attach the data they represent (like width and height of the comp in this case) directly to the items.
I didn't execute the code to really check it, but it should work like this:
// add templates to your dropdown and store the items in an array
var templates = [];
templates[0] = templateGen.compList.add('item','template1');
templates[1] = templateGen.compList.add('item','template2');
templates[2] = templateGen.compList.add('item','template3');
// attach a width and height to each item
templates[0].width= 1280;
templates[0].height= 720;
templates[1].width= 1024;
templates[1].height= 768;
templates[2].width= 1920;
templates[2].height= 1080;
// choose the item that should be selected by default
templates[0].selected = true;
applyBtn.onClick = function(){
        // read the width and height from the selected item
        var width = templateGen.compList.selection.width;
        var height =templateGen.compList.selection.height;
        if(templateGen.VerticalCheckbox.value){
              // swap width and height
              var temp = width;
              width = height;
              height = temp;
        // now create your comp here with the given width and height

Similar Messages

  • I am being forced to create 3 security question from your dropdown list and I can choose the questions but can't enter anything in the answer field??

    I am being forced to create 3 security question from your dropdown list and I can choose the questions but can't enter anything in the answer field??

    The problem is twenty three people leaving or twenty three thousand leaving has zero impact on a carrier with over 100 million customers. And they have the lowest churn rate. So if 10,000 or 20,000 or more churn out it means little to the carrier.
    If you have a real lawyer he/she will advise you that you have no case. The device was not lost or stolen by the carrier, you were not eligible for a new device, and like any business who employs large numbers of poorly trained personnel who make low wages what was told to you is not in writing. So a verbal exchange does not hold up.
    In fact in Verizon's customer agreement it has such a disclaimer against any verbal exchanges so if you have that agreement in writing, go get them.
    The posting on public forums and places like Face Book, Linkin, Google+ or a personal web site can open you up to a lawsuit for Dilution of Trade Name, and other offences. However if you have proof then go for it.
    Unfortunately that is how big business works today. A pity

  • Dropdown list with multiple selections

    I need to create a dropdown list in a selection screen and allow the user to select more than one option. Can this be done. I know how to use VRM_SET_VALUES to create a dropdown but it restricts me to selecting only one value. The user should be able to select multiple values. Thank you.

    Hello,
    Try to use this Fm
    PARAMETERS :
    y_p_list TYPE char32  AS LISTBOX VISIBLE LENGTH 22
                                  MODIF ID rsg. .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR y_p_list.
      PERFORM y_f_dring_type_f4.
    FORM y_f_file_frmt_f4 .
      MOVE: text-212 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      MOVE  text-213 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      MOVE  text-214 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      MOVE  text-215 TO y_wa_listbox1-field.
      APPEND y_wa_listbox1 TO y_i_listbox1.
      CLEAR y_wa_listbox1.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'FIELD'
          dynpprog        = sy-repid
          stepl           = 1
          value           = ' '
          value_org       = 'S'
          display         = ' '
        TABLES
          value_tab       = y_i_listbox1[]
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
      REFRESH y_i_listbox1.
    ENDFORM.                    " y_f_file_frmt_f4
    Use this code you will get the List box in selection screen.

  • How to populate a textfield based on a dropdown list and a checkbox

    Hi Guys,
    I need help.
    first step: I have a dropdown list if i click in dropdownlist "a" and put in numeric field a number bigger than 99 the, checkbox should be marked and  second step: a textfield1 should be visible.
    the first step works perfectly but the second doesnt work.
    this is my coding for the second step in event : change java script
    if ((DropDownList1.rawValue == "a") && (this.rawValue == 1))
    TextField1.presence = "visible";
    else
    TextField1.presence = "hidden";
    does anybody have any idea why?
    thanks!!
    Diana

    Hi,
    I would put the following in the exit of the dropdown and the checkbox:
    if 
    (DropDownList1.rawValue == "a" && CheckBox1.rawValue == 1){
    TextField1.presence
    = "visible";}
    else
    TextField1.presence
    = "hidden";}
    (the script is all over the shop, but should be OK in the form).
    Then in the exit event of the numeric field (after the changing of the checkbox value) you could call the checkbox exit event.
    Good luck,
    Niall

  • Link db results to Dropdown list and link to email

    I need to pull information from a table 'Suppliers' in an (datebase.mdb) and retrieve two items, name and email. This in itself Dreamweaver makes fairly simple. From this information I need to produce a dropdown list, again Dreamweaver makes this simple.By the way we are using the Suppliers table as 'Departments'.
    Now the real work begins and this question. Once the user selects a name on this dropdown list, I need to create a feed of the email address associated with the selected name and pass it to an email form field as a BCC. This form (email) is generated by another subroutine, so I will also have to add the necessary coding for the form to include this BCC email address if selected.
    I wish to add the new dropdown list just below the subject and as this is an optional field, the first selection should be 'optional' and do nothing if no selection is made by the user.
    I believe that the form is generated by the 'shopcustcontact' and results passed to 'shopmailform' for final processing and sending.
    I appreaciate your input this this question.

    This isn't a Design question. Please repost in the Dreamweaver forum.

  • Question on Dynamic Select Lists and Checkboxes

    Hello,
    I am new to APEX, and this is my first posting, I have a question about how to implement dynamic checkboxes from a select list.
    Basically I would have a select list, and based on what item is selected a set of checkboxes would appear.
    I was originally using the Select and Submit property on the select box, which works fine, all of the checkboxes appear appropriately. But the thing is, APEX refreshes the page each time, and since this select box is lower in the page, the user would have to scroll all the way down to where they were before.
    The main requirement is so that the user won't have to scroll down the that position where the select box is each time they select a new option.
    So a work around attempt is to create a javascript that will automatically scroll down to that position on page load ...
    i.e.
    function pageScroll() {
    window.scrollBy(0,50);
    But that didn't work, because for some reason the javascript wasn't appearing.
    Is there a way to either:
    1. Have a dynamic checkbox appear using ajax? -or-
    2. Have the javascript scrolling effect
    Sorry if this is a confusing question, I was wondering if anyone else came across this issue.
    Thanks in advance!!

    Since this Select List plays such an important role on the page, why not create a side-region and put that select list there so you don't have to overwhelm the user and his 'persistence of vision ' with a page that scrolls all by itself to the 1000th line to, then , change the options ?
    just an idea.

  • How to dynamically generate parameters based on dropdown?

    Hello,
    newbie ABAPer question..
    I was wondering if it's possible to dynamically create a UI based on the values on a drop list/drop down box?
    For example, screen would initialize too
    dropdown list filled with 1 - 50
    field1 field2
    user selects 10 from the drop down list, then the screen would look like this:
    drop down list dropdown list filled with 1 - 50
    field1 field2
    field3 field4
    field5 field6
    field7 field8
    field9 field10
    field11 field12
    field13 field14
    field15 field16
    field17 field18
    field19 field20
    thanks for looking!

    Then you need to use fm
    FREE_SELECTIONS_DIALOG
    for dynamically generating the selection parameters screen.
    Please make a search on this forum for sample code how to use this

  • Ipod not in dropdown list and itunes won't play from ipod after 8.1download

    ever since I downloaded 8.1 itunes my ipod no longer appears in the dropdown list (right click on song or podcast - add to playlst) when i want to transfer a song or podcast to my ipod. My only option is to drag and drop now. Also I cannot play on my computer a song or podcast that is on my ipod,(I do this to sync my ipod to where it last played) it's as though it is not recognizing it even though my ipod icon does appear in itunes. I use a 1GB shuffle.

    i knew the solution was in front of my face! thank you so much pointing it out for me : )

  • Return a value based on dropdown list

    I am a newbie in making PDF form and had recently started working with Live cyle to create a fillable form and managed to create a usable one patterned with the sample Purchase Order Form (by trial and error) which came along with the installation. Can somebody please help me with this form.  I have a dropdown list on the ITEMS column and want it to automatically display the unit price of the item selected from the drop down list. By the way I managed to make the table flowable.

    http://forms.stefcameron.com/2009/02/25/expandable-table-with-totals/

  • Read XML file to dropdown list and sort alphabetically

    I have a custom vbs script that reads a text file and creates a dropdown list to web page. How I can sort the list alphabetically? Should I read the values to array, sort it and after that put sorted values to dropdown list?

    <html>
    <head>
    <script language="vbscript">
    Sub window_onload()
    test.Value = 3
    End Sub
    </script>
    </head>
    <body>
    <select id="test" width=40>
    <option value="1">one is the number</option>
    <option value="2" selected="selected">two is the number</option>
    <option value="3">three is the number</option>
    </select>
    </body>
    </html>
    If you found this post helpful, please "Vote as Helpful". If it answered your question, remember to "Mark as Answer"
    MCC & PowerShell enthusiast
    http://oliver.lipkau.net/blog

  • Problem with DropDown List and ValueChange

    Hi,
    I have the following problem (I use NetBeans 6.1): I have a page, made with the Visual Web Designer, where there is a DropDown List component. The expected behaviour is once I select an item from the dropdown list, something (depending on the item I clicked) appears or happens (so, without any submit button or action link).
    This is the code I have at the moment:
    JSP (Pagina1.jsp):
    <h:selectOneMenu binding="#{Pagina1.dataTypeDropDown}" id="dataTypeDropDown" immediate="true" onchange="return getSearchFields(this);" style="height: 24px; left: 192px; top: 24px; position: absolute; width: 744px" valueChangeListener="#{Pagina1.dataTypeDropDown_processValueChange}">
        <f:selectItems binding="#{Pagina1.dropdown1SelectItems}" id="dropdown1SelectItems" value="#{Pagina1.dropdown1DefaultItems}"/>
    </h:selectOneMenu>
    Bean (Pagina1.java):
    public void dataTypeDropDown_processValueChange(ValueChangeEvent vce)
        String selectedValue = (String)vce.getNewValue();
        System.out.println(selectedValue);    // nothing happens!
        System.out.println("Hello");    // nothing happens!
    [...]My problem is that, whenever I select an item form the dropdown list, ehm... nothing happens.
    What could I do? Isn't that a kind of "change of value"? JavaScript events work fine, but no way with the ValueChange.
    And please consider that I'd like to obtain the same result with both Standard Components and Woodstock Components.
    Any help would be greatly appreciated!
    Thanks!

    try adding "*this.form.submit();*" to your on change attribute of select menu.
    Your on change will look like onchange="return getSearchFields(this);this.form.submit();"
    This should work.

  • Dropdown List and Usage Rights in Adobe Reader

    Hi everyone!
    The problem is: I can't save data when I open my form in Adobe Reader 7, even if I apply usage rights in Acrobat Professional before.
    But in Adobe Reader 8, it works!
    Can anyone help me, please?
    I designed a form into Livecycle with a drop-down-list dynamically populated from a data source (XML file).
    After the design be done, I opened the form in Acrobat Professional and attach the XML file by the menu "Forms > Manage form data > import data".
    Then I apply usage rights in Acrobat, to enable saving in Reader.
    As I said, it works fine in Reader 8: I can choose any item from drop-down-list and save the form. But in Reader 7, it doesn't.
    Thanks in advance.
    Diego

    OK, here you go.
    https://www.dropbox.com/sh/y5mkwmw5h8wvxjk/2psk7418jq

  • How to trigger a refresh of a dropdown list when the selection is changed

    Hi,
    This is a general ExtendScript question, but since I'm working with FM, I'll ask here first. I have a bit of a paradox here and I'm not sure of the best way to handle it.
    I have a dialog box with a dropdown list, where I want to refresh certain controls when the user changes the selection in the list (dropdownList.onChange). This includes refreshing the contents of the list itself. However, the problem is, as soon as I try to refresh the list contents, it triggers onChange again. So, if I put the call to refresh the box within the onChange handler, it results in an endless loop, because my refresher function triggers onChange when it refreshes the list.
    Does anyone know a better methodology, where I can safely trigger a refresh of a dropdown list within the list's own onChange event handler? I really wish that onChange was reserved for a user action only, or there was at least some property to that effect.
    Russ

    Hi Russ,
    you can stop that with "stopPropagation()"
    You can find this in "Javascript Tools Guide" on page 150.
    I'm not able at the moment to send you an example 'cause I'm in a hospital for a while.
    Happy New Year!

  • Change image when form dropdown list value is selected

    I really thought this would be simpler but I just can't get it working.
    I have a submit from from paypal with a dropdown list. The list allows you to select color. I want to change an image on the page to display the appropriate color when the color is selected from the drop down list. So a black image shows up when black is selected, a red when red - etc...
    I would be very grateful if someone can share some succinct, browser compatible code. Thank you so much for any help you can provide.
    Bill

    Thanks so much.  I used your info from above and am in the process of creating a product configurator for our products.  Do you see any problems/issues etc or ways to make this script better?  I don't have most of the images there yet, but if you choose big boy chair and then choose navy/powder/black fabric and most accent colors you should see it working (in FireFox anyway).  Not sure why it isn't working in IE.  Any ideas?
    Here's the link:
    http://logochairs.com/j25cms/index.php/customform/test-form
    And here's my code:
    <script type="text/javascript">
    <!--
    function logo_prodImgBySel(objId,theValue) {
    var cobaseimages=["/j25cms/images/customimages/blank.jpg","/j25cms/images/customimages/11/base.jpg", "/j25cms/images/customimages/12/base.jpg", "/j25cms/images/customimages/13/base.jpg", "/j25cms/images/customimages/15/base.jpg", "/j25cms/images/customimages/20/base.jpg", "/j25cms/images/customimages/23/base.jpg", "/j25cms/images/customimages/24/base.jpg", "/j25cms/images/customimages/25/base.jpg", "/j25cms/images/customimages/27/base.jpg", "/j25cms/images/customimages/32/base.jpg", "/j25cms/images/customimages/35/base.jpg", "/j25cms/images/customimages/39/base.jpg", "/j25cms/images/customimages/41/base.jpg", "/j25cms/images/customimages/42/base.jpg", "/j25cms/images/customimages/48/base.jpg", "/j25cms/images/customimages/50/base.jpg", "/j25cms/images/customimages/51/base.jpg", "/j25cms/images/customimages/52/base.jpg", "/j25cms/images/customimages/54/base.jpg", "/j25cms/images/customimages/56/base.jpg", "/j25cms/images/customimages/57/base.jpg", "/j25cms/images/customimages/58/base.jpg", "/j25cms/images/customimages/60/base.jpg", "/j25cms/images/customimages/62/base.jpg", "/j25cms/images/customimages/64/base.jpg", "/j25cms/images/customimages/65/base.jpg", "/j25cms/images/customimages/68/base.jpg", "/j25cms/images/customimages/69/base.jpg", "/j25cms/images/customimages/71/base.jpg", "/j25cms/images/customimages/72/base.jpg", "/j25cms/images/customimages/74/base.jpg", "/j25cms/images/customimages/77/base.jpg", "/j25cms/images/customimages/78/base.jpg", "/j25cms/images/customimages/79/base.jpg", "/j25cms/images/customimages/80/base.jpg", "/j25cms/images/customimages/82/base.jpg", "/j25cms/images/customimages/83/base.jpg", "/j25cms/images/customimages/84/base.jpg", "/j25cms/images/customimages/90/base.jpg", "/j25cms/images/customimages/94/base.jpg"];
        var d=document;
        theValue=cobaseimages[theValue];
        if (!theValue || !d.getElementById ) return;
        var obj = d.getElementById(objId);
        if (obj) obj.src=theValue;  
    <!--
    function logo_prodImgPrim(objId,theValue) {
      var coimageprimary1='/j25cms/images/customimages/';
    var coimageprimary25= document.getElementById('ff_elem368');
    var coimageprimary2= coimageprimary25.options[coimageprimary25.selectedIndex].value; 
    var coimageprimary3='/primary/';
    var ttt='Powder.png';
    var mypath=(coimageprimary1 + coimageprimary2 + coimageprimary3);
      var coPrimaryimages=['/j25cms/images/customimages/blank.png',(mypath + 'White.png'),
    (mypath + 'Black.png'),
    (mypath + 'Lemon.png'),
    (mypath + 'Yellow.png'),
    (mypath + 'Gold.png'),
    (mypath + 'Tangerine.png'),
    (mypath + 'Rust.png'),
    (mypath + 'Orange.png'),
    (mypath + 'Carrot.png'),
    (mypath + 'Red.png'),
    (mypath + 'Cardinal.png'),
    (mypath + 'Garnet.png'),
    (mypath + 'Maroon.png'),
    (mypath + 'Purple.png'),
    (mypath + 'Powder.png'),
    (mypath + 'Navy.png'),
    (mypath + 'Royal.png'),
    (mypath + 'Hunter.png'),
    (mypath + 'Gray.png'),
    (mypath + 'Charcoal.png'),
    (mypath + 'Khaki.png'),
    (mypath + 'Vegas.png'),
    (mypath + 'Kelly.png'),
    (mypath + 'Pink.png'),
        var d=document;
        theValue=coPrimaryimages[theValue];
        if (!theValue || !d.getElementById ) return;
        var obj = d.getElementById(objId);
        if (obj) obj.src=theValue;  
      <!--
    function logo_prodImgSec(objId,theValue) {
      var coimagesecondary1='/j25cms/images/customimages/';
    var coimagesecondary25= document.getElementById('ff_elem368');
    var coimagesecondary2= coimagesecondary25.options[coimagesecondary25.selectedIndex].value; 
    var coimagesecondary3='/accent/';
    var ttt='Powder.png';
    var mypathz=(coimagesecondary1 + coimagesecondary2 + coimagesecondary3);
      var coSecondaryimages=['/j25cms/images/customimages/blank.png',(mypathz + 'White.png'),
    (mypathz + 'Black.png'),
    (mypathz + 'Lemon.png'),
    (mypathz + 'Yellow.png'),
    (mypathz + 'Gold.png'),
    (mypathz + 'Tangerine.png'),
    (mypathz + 'Rust.png'),
    (mypathz + 'Orange.png'),
    (mypathz + 'Carrot.png'),
    (mypathz + 'Red.png'),
    (mypathz + 'Cardinal.png'),
    (mypathz + 'Garnet.png'),
    (mypathz + 'Maroon.png'),
    (mypathz + 'Purple.png'),
    (mypathz + 'Powder.png'),
    (mypathz + 'Navy.png'),
    (mypathz + 'Royal.png'),
    (mypathz + 'Hunter.png'),
    (mypathz + 'Gray.png'),
    (mypathz + 'Charcoal.png'),
    (mypathz + 'Khaki.png'),
    (mypathz + 'Vegas.png'),
    (mypathz + 'Kelly.png'),
    (mypathz + 'Pink.png'),
        var d=document;
        theValue=coSecondaryimages[theValue];
        if (!theValue || !d.getElementById ) return;
        var obj = d.getElementById(objId);
        if (obj) obj.src=theValue;  
    function clear_OnChange()
    var combo = document.getElementById('ff_elemPriColor');
    combo.selectedIndex = "0";
    var combo2 = document.getElementById('ff_elemSecColor');
    combo2.selectedIndex = "0";
    </script>
    <div id="product1image_a" style="position: relative; float: right; top: -20px; right: 0px; width: 250px; height: 250px; border: 2px solid darkgray; box-shadow: 5px 5px 5px rgb(136, 136, 136);">
      <img width="250" height="250" style="position:absolute;bottom:0px;right:0px;" id="theImg" src="images/customimages/blank.jpg" alt="" />
      <img id="thePrimary" style="position:absolute; bottom:0px; right:0px; width:250px;" src="images/customimages/blank.png">
      <img id="theAccent" style="position:absolute; top:0px; left:0px; width:250px;" src="images/customimages/blank.png">
    </div>
    <span id="bfElemWrap368" class="bfElemWrap bfLabelLeft">
    <label id="bfLabel368" for="ff_elem358">Product Line</label>
    <select id="ff_elem368" name="ff_nm_prod1[]" onchange="logo_prodImgBySel('theImg',this.selectedIndex);clear_OnChange();logo_prodImgPrim('thePrim ary',this.selectedIndex);logo_prodImgSec('theAccent',this.selectedIndex);" class="ff_elem">
    <option value="" selected="selected"></option>
    <option value="11">Big Boy Chair</option>
    <option value="12">Deluxe Chair</option>
    <option value="13">Canvas Chair</option>
    <option value="15">Sphere Chair</option>
    <option value="20">Toddler Chair</option>
    <option value="23">Classic Fleece</option>
    <option value="24">Sherpa Throw</option>
    <option value="25">Fleece Throw</option>
    <option value="27">UltraSoft Blanket</option>
    <option value="32">Tailgate Table</option>
    <option value="35">Trashcan Cooler</option>
    <option value="39">Economy Tent</option>
    <option value="41">Color Tent</option>
    <option value="42">Checkerboard Tent</option>
    <option value="48">Side Panel</option>
    <option value="50">12 Pack Cooler</option>
    <option value="51">Luggage Set</option>
    <option value="52">Rolling Duffel</option>
    <option value="54">Sport Duffel</option>
    <option value="56">Lunch Pail</option>
    <option value="57">Rolling Cooler</option>
    <option value="58">Party Bucket</option>
    <option value="60">Picnic Cooler</option>
    <option value="62">Backpack</option>
    <option value="64">String Pack</option>
    <option value="65">Reversible Tote</option>
    <option value="68">Seat Blanket Combo</option>
    <option value="69">Stadium Seat with Arms</option>
    <option value="71">Stadium Cushion</option>
    <option value="72">Gym Bag</option>
    <option value="74">Sweatshirt Blanket</option>
    <option value="77">Round Coozie</option>
    <option value="78">Flat Coozie</option>
    <option value="79">Bottle Coozie</option>
    <option value="80">Stadium Seat</option>
    <option value="82">8-Can Cooler Tote</option>
    <option value="83">16-Can Cooler Tote</option>
    <option value="84">30-Can Cooler Tote</option>
    <option value="90">Camping Stool</option>
    <option value="94">Hardback Seat</option>
      </span>
    </select>
    <span id="bfElemWrapPriColor" class="bfElemWrap bfLabelLeft">
    <label id="bfLabelPriColor" for="ff_elemPriColor">Primary Fabric</label>
    <select id="ff_elemPriColor" name="ff_nm_prodcolor[]" onchange="logo_prodImgPrim('thePrimary',this.selectedIndex)" class="ff_elem">
    <option value="" selected="selected"></option>
    <option value="White">White</option>
    <option value="Black">Black</option>
    <option value="Lemon">Lemon</option>
    <option value="Yellow">Yellow</option>
    <option value="Gold">Gold</option>
    <option value="Tangerine">Tangerine</option>
    <option value="Rust">Rust</option>
    <option value="Orange">Orange</option>
    <option value="Carrot">Carrot</option>
    <option value="Red">Red</option>
    <option value="Cardinal">Cardinal</option>
    <option value="Garnet">Garnet</option>
    <option value="Maroon">Maroon</option>
    <option value="Purple">Purple</option>
    <option value="Powder">Powder</option>
    <option value="Navy">Navy</option>
    <option value="Royal">Royal</option>
    <option value="Hunter">Hunter</option>
    <option value="Gray">Gray</option>
    <option value="Charcoal">Charcoal</option>
    <option value="Khaki">Khaki</option>
    <option value="Vegas">Vegas</option>
    <option value="Kelly">Kelly</option>
    <option value=

  • Headers in Dropdown lists? (Non-selectable items)

    Does any one know how to make headers in dropdown lists? I have 2 groups of items I want to add a header for each in the dropdown list. The headers just have to be non selectable.
    thanks,

    Hi Kris,
    In Designer 7.1, I created a DropDown List which includes Headers and sub categories under these headers, where the Headers are not selectable. When I built my DropDownList I then assigned Values to each item in the list, which I've put in brackets for you:
    HEADER ONE (10)
    Item A (1)
    Item B (2)
    Item C (3)
    HEADER TWO (11)
    Item X (4)
    Item Y (5)
    Item Z (6)
    This is the JavaScript I wrote on the Exit event:
    if (DropDownList.rawValue > 10) {
    DropDownList.rawValue = "";
    Hopes this works for you.

Maybe you are looking for

  • Need how to configuration on Receiver File adapter

    Hi, I am working on File to File scenario. I need to create a file in output directory with time stamp. I am also need to create File output directory. I used create target directory. But the file is not creating in the directory. Please help me on t

  • Satellite P300-18M - Is using the card reader for Vista Ready Boost OK?

    Hi there, I have a P300-18M, and, due to getting a new phone, have an 8GB Micro SD Card spare. I have put this in the card reader, and I am currently using it for Ready Boost, even though I have 3GB of RAM, there is definately a performance boost...

  • Width of stack chart not getting retained in Flex 4 but working in Flex3

    I have a stack chart on  my dashboard when I click on stack chart it become a column chart. When I trying  to come back on stack chart by clicking on column chart the width of columns of  stack chart does not match with the previous stack  chart. Not

  • Trouble Downloading Raw photo files and JPEG photo files in CS5

    PS CS5 will not download raw photo files and JPEG photo files. The software will not recognize these files coming from a Canon G12 camera. How can I remedy this situation?

  • I phone 3GS

    my firend just gave me a i phone for my birthday and i restored it and i have no sim card now it wont let me put music on it i cant get to the home screen