Problem of editable drop-down list.

Hi all

  • Here's the question. I have a list/menu editable drop-down list in a table. The table is hidden when the page is loaded. When the user clicks on the link to open the table, editable drop-down list is only 1 or 2 pixels wide. How can I get the editable drop down to open up the prescribed 300px?

Here is the code:

< select name = "CGSector1" id = "CGSector1" wdg:subtype = "DynamicInput" wdg:type = "widget" wdg:recordset = "rsCGSectors" wdg:displayfield = "CGSectors" wdg:valuefield = "CGSectors" wdg:norec = '150' wdg:singleclickselect = "yes" wdg:defaultoptiontext = "" wdg: don't restrict = "" wdg:ext = "php" style = ' width: 300px "wdg:fakeattribute =" <? " PHP WDG_registerRecordInsert ("connStr_xxxxxx", "rsCGSectors", "CGSectors", "CGSectors");? > "> < / select >"

Thank you.

Brian

As this problem is not directly related to the MEASUREMENT, but assumingly rather to such aspects as defined (if any) width of the table initially hidden, please give a link to the page code in its entirety (or page) to help others to find the possible reason.

However, it is worth mentioning "editable dropdown" ADDT´s is generated on-the-fly using AJAX features some owners as well (including rendering style), then maybe the style you setting defined here just gets ignored when the surrounding 'container' (aka table) becomes hidden - for example - using features from another library like JQuery AJAX that is certainly incompatible with that ADDT´s own implementation of AJAX.

See you soon,.

Günter

Tags: Dreamweaver

Similar Questions

  • Re: problem with menu drop-down lists.

    Hello everyone,

    I am facing a problem with the drop-down lists in my application, I have 4 drop-down lists one under the other. The main problem follows here, the second list is being covered by the first list when the first list fell down. How to get rid of it, any suggestions please,

    Thank you and happy new year.

    You must listen to the update and then change the order of objects.  Seems odd that RIM does not perform this themselves because it is a problem long been known.  A few other controls have similar problems.

    Community Library:

    import flash.events.Event;
        import flash.events.FocusEvent;
    
        import qnx.ui.listClasses.DropDown;
    
        public class DropDown extends qnx.ui.listClasses.DropDown
        {
            public var dataField : String = 'data';
            public var defaultSelection : * = '';
    
            /////////////////////////////////////////////////////////////////////////
            public function DropDown()
            {
                super();
                this.addEventListener(FocusEvent.FOCUS_IN, HasFocus );
            }
    
            ///////////////////////////////////////////////////////////////////////////
            private function HasFocus( event : Event ) : void
            {
                this.parent.setChildIndex( this, this.parent.numChildren-1 );
            }
    
            ////////////////////////////////////////////////////////////////////
            public function set selection( value : * ) : void
            {
                var entry   : Object;
                var counter : int = 0;
                for each( entry in this.dataProvider.data )
                {
                    if( entry[ this.dataField ] == value )
                    {
                        this.selectedIndex = counter;
                        break;
                    }
                    counter++;
                }
            }
    
            //////////////////////////////////////////////////////////////////////
            public function get selection() : *
            {
                return this.selectedItem ? this.selectedItem[ this.dataField ] : this.defaultSelection;
            }
        }
    
  • Problem of form drop-down list

    When I create a form drop-down list box and that you have more to say 10 points with values and trying to modify a list item, I cannot select an item (say #10 on the list).  It is another element in the list.  If someone has had this problem or does anyone have a solution?  I want to attach the file, but I don't see a way for me to do.

    Are the options and the single export, without duplicate values?

    What version of Acrobat?

  • Problem with the drop-down list related calculations

    Hi all

    I worked on a leave form using Adobe LiveCycle ES2 Design for more than three weeks. I am new to my work computer applications programming, and I've not had many world real experience with Javascript. My problem is that I have two drop-down lists in two separate subforms. I have a separate box for users to insert the number of hours of leave, they want to take next to each drop-down list. At the bottom of the form, I have a subform that I want to track the total number of hours for the type of leave, the users selected in the drop-down list.

    I tried several methods of JavaScript to FormCalc, but I succumbed to find a way to indicate each of my category of leave amounts to fields to reflect the value in field hours (this is... if the leave type list specifies the type of leave). I'm tired of scouring the Internet and books to see if I can find a viable solution to this subject. I have another issue to discuss with this same form regarding my case to add calculations, but he will have to wait until I am able to get this rectified issue. Can someone help me?

    Leave_Slip rough.png

    The script necessary to each calculation of total field.

    The only thing different between them, it's the '6' is changed for each category (i.e. personal leave is '0'). FormCalc select in the script editor. It really works in your form - guaranteed!

    Older var = _IndvSubForm.count

    var totHrs = 0

    for i = 1 to older don't

    If (IndvSubForm [i-1]. DataDropDownList2 == "6") then

    totHrs is totHrs + IndvSubForm [i-1]. TotalHours2

    continue

    on the other

    continue

    endif

    ENDFOR

    $ = totHrs

    Good luck

    Stephen

  • Editable drop down list

    Hello!

    I use editable in Dreamweaver drop down list

    Application Panel, server behaviors > + > Developer Toolbox > form controls > editable dropdown

    That was a GREAT option, but I must add 1 option, when I'm about to ADD an item to the list, all you can do is to add 1 point for 1 column in a database.

    Struture of database:

    ListId userid listItem listitemValue

    But all I can get it to update is listItem , I need to be able to when the "ADD THIS" button is pressed, I can add value to USERID also, is - it possible? I tried the deap immersed in it, but some things I just don't understand that far down.

    Any help would be greatly appreciated!

    See you soon and thank you in advance.

    Justin

    Okay, I totally misunderstood. Sorry for the confusion. I'm afraid I'm not much help on this particular function. Some features I really ripped and modified, this isn't one of them.

    This does not resemble one of the simplest to change unlike some other functions.

    Before you try to enter the information on how to break it down, is long there all the info that you are trying to update of chance is a certain type of default or incremental, name something that can be hardcoded?... or is it unique as a visitor, so you're pulling every time? Ex: User1, user2 vs.   sally101, david2009, etc..

    If this is not the case, there are several lines of variable change of setting and function to change at first glance.

    I can watch it later, but the variables are not yet in that the same insert feature page.

    Here's the key in WDG_recordsetInsert.php line,

    $sql = "INSERT INTO". $vars ['table']. ' (' . KT_escapeFieldName ($Vars ['updatefield']). THE VALUES ') ('.) KT_escapeForSql ($text, 'STRING_TYPE'). ')';

    but the reactive power seems to come out of a table in ' WDG_functions.inc.php: here are the variables of the function for the function to insert above

    $WDG_sessInsTest = & $_SESSION ['WDG_sessInsTest'];

    [$WDG_sessInsTest] = array)

    "conn"-online $connectionName,

    "rsName"-online $rsName,

    'table'-online $sqlTable,

    "idfield"-online $idField,

    "METTREAJOURCHAMP"-online $updateField);

    This table can be modified (at first glance), but I can't promise that reactive power will carry through because I see exactly where this table is used again.

    As I said, if the values you need are something you could hard code start and increment, you can easily change the function "insert in" above.

    I could also play around with a few data of $_POST and data Session vars and see if you can put these lines in the SQL above.

    Sorry I can't be more help on this one.

  • Problems of the drop-down list of the hotspots alignment

    I use RoboHelp 7 and have a project with a lot of topics that contain bulleted lists with drop-down hotspots and text. I have met an alignment problem in these drop-down hotspots and hope someone can help me understand how to solve this problem.

    I want to indent the text that appears when you open the dropdown menu, then it aligns in virtue of the text of the list item to chips, rather than the bullet itself (so it is easier for users to differentiate between the text of the dropdown of the bulleted list).

    To do this, I did the following:
    (1) created my hotspot menu drop-down
    (2) delete the default text that appears in the text box
    (3) the icon click Increase Indent
    (4) entered the scrolling text

    The text seems to be aligned correctly in the WYSIWYG editor, but has a hanging indent, when I saw it and after that I generated WebHelp output. The paragraph format does not show a negative withdrawal, but that's what I see in the forecast and the generated output.

    Can someone explain why this happens and how I can fix this problem? Thanks for your help...

    The way to handle this is to create a new style in your stylesheet with the correct indentation and that applies inside your fall down.

  • Problems of dynamic drop-down list box

    Hello

    I have a requirement for a list dynamic downdown.

    I use javascript itself to fill the 2 text fields in the drop-down list.  I need the list/menu area drop down to be able to have options to input from the user and the drop-down list. I selected the "user entered - optional" compared to the setting but does not seem to work.

    The drop has used names and if a new employee joined this company and I do not know the end user can enter the name of the employee in the field.

    I have attached a pdf file version.

    Any ideas or help would be great.

    See you soon.

    Hello. All you have to do is check the box "Enable custom text entry". You can find the object box > cell phone

  • Problem of multiple drop-down list

    What I have is a form that has a dropdown menu with a list of letters, the alphabet, and what I want to do when the user selects a letter, I want a query to execute to complete the second dropdown with a list of all the name, first name that begins with the letter that the user has selected just with the re-loading of the page or javascript. The table name has more than 10,000 lines, so you can see why I do not want in the drop-down list first and why a javascript array will not work for this application. Any ideas?

    AutoSuggest. CF8 has this feature, too.
    If you are not on cf8, studying with the help of Rob Gonda's AjaxCFC.

    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com/

  • editable drop-down list - something line in Access

    Hi all

    I'm trying to convert a MS Access application to APEX. In the access application, there is a text field with a dropdown list. The application of populating drop-down list is the following:

    SELECT DISTINCT CARS. Model CARS CAR BUYING. Model;

    As I understand it, it will allow me to select one of the existing values in the menu drop down, but also add a new simply by typing the value in the field its self.

    Is there such an option with APEX? It seems that drop-down lists in the APEX are created based on the data static or dynamic, is there a simple way to add new values to the list?

    Thank you for your time,

    DanielD

    Hello Daniel,.

    You can use a PopUp LOV selection of existing models. If you enter a different model for a car that is added to the Table of cars, and will be available for the next use of the context menu.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

  • [JS] Editable drop-down list

    Is it possible to have a drop down menu which is editable you get when you click on save the preset in the new Document dialog box?

    CS3 and CS4 ScriptUI

    Here is what I use:

        HarbsUI.TextComboBox = function(container,listItems,selection,width,indent){
            var fld;
            container = container.add('group');
            this.width = width || 100;
            this.selection = selection || 0;
            this.listItems = listItems || [];
            this.text = this.listItems[this.selection] || '';
            this.indent = indent || 0;
            container.indent = this.indent;
            container.orientation = 'stack';
            container.alignChildren = 'left';
            fld = container.add("edittext");
            var dd = container.add("dropdownlist",undefined,undefined,{items:this.listItems});
            dd.selection=this.selection;
            dd.preferredSize.width = this.width;
            var fld2 = container.add("edittext");
            fld.text =this.text;
            fld.preferredSize.width = this.width-20;
            fld2.text =this.text;
            fld2.preferredSize.width = this.width-20;
            fld.onChanging = function(){
                fld2.text = fld.text;
            }
            fld2.onChanging = function(){
                fld.text = fld2.text;
            }
            dd.onChange = function(){
                fld.text = dd.selection.text;
                fld2.text = dd.selection.text;
            }
            return fld;
        }
    

    Substances

  • In Muse - edit drop-down list does not

    I'm sorry for this basic but application works on near final site and edit function will no longer work.  Am I missing something very basic - the impression that I somehow "off."

    Thanks in advance for any help.

    John

    Thanks for the reply. Resolved to uninstall and install.  Now works.

  • How the auto fill a field based on the drop-down list unless the specific item is selected

    Hi all

    My apologies if I posted this in in the wrong place, but I am new to these forums, JavaScript and Adobe LiveCycle.

    I am trying to build a form using LiveCycle Acrobat but have problems with the drop-down lists.

    Inititaly I just wanted to fill in the fields in a table based on a matching menu selection dropdown in another table.

    I used the following code and it worked fine:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    The problem is that now I want the code above works UNLESS one of the items in the drop-down list is enabled specifically in this case, I want the text box in the other table to display a message such as "Details of the entry in the field below.

    I tried to create an If Else statement using the following code:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    If (fFrom.item (i) .rawvalue = "Option 3") {}

    fTo.item (i) .rawValue = "enter the details in the field below.

    }

    else {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    }

    The code now filled the field with "Enter the details in the field below" any item I select in the drop-down list.

    Your help is greatly appreciated.

    See you soon,.

    ozzy_q

    Hello

    You use .rawValue in the change event. This will cause problems because the selection of the users has not received .rawValue from the drop-down list at the time when the change event is triggered.

    Move your script as it should to the output of the dropdown event.

    Hope that helps,

    Niall

  • Several lines in a drop-down list box

    Hello

    I'm trying to create a PDF for the purposes of the information and then print it.  I have very limited skills with Acrobat 8, basically what I have gotten myself and I encountered a problem with my drop-down list boxes.  Some of the sentences that I put in the boxes are too long and I have not been able to figure out how to wrap the text, or use multiple lines.  I need all my data to display.  Can someone explain, in simple terms, if possible, how this can be accomplished, or provide an alternative.  I have read several posts but were not able to work where to start with it.  Any help would be appreciated.  Thank you!

    I've implemented a small sample which should help you get started: https://acrobat.com/#d=R6J3Vsf4iJjsfE1tiNsVMg

    All the code is in the event of the button the mouse upwards. All you have to do is change the text for each item in the 'items' array to match the selections you want. Add as many items as you need. If you get stuck, post again.

  • When exporting my image in LR I select my brand of water in the drop-down list. Then I need to select 'Edit watermark' since the same drop-down menu in order to replace it. When I do that and click 'done' the watermark disappears in the export me

    When exporting my image in LR I select my brand of water in the drop-down list. Then I need to select 'Edit watermark' since the same drop-down menu in order to replace it. When I do that and click 'done' the watermark disappears in the box menu to export. When I click on "Export" the image exports WITHOUT my watermark. Help, please. As I did about everything that has been suggested in this forum and I still have this problem.

    I saw that too. For now, the workaround is that if you select 'Edit watermark,' when you are done editing be sure to reselect the same watermark. If you do not, the watermark menu will be empty.

    It seems to be a known bug that occurs only in the current version. If all goes well, it can be fixed in the next update. There is a page for her on the Photoshop/Lightroom Feedback site. I've added my vote to the page:

    LIGHTROOM CC - watermark on the question of export

  • XLATLONGNAME from the drop-down list should be a default value in the edit box

    Hello


    I have two fields in a grid, one named "TEST_Type" and one is named 'TEST_Name' edit box
    Use cases, TEST_Name by default will be TEST_Type in Drop Down.

    "TEST_Type" is the translation of edition Table and 'TEST_Name' will contain XLATLONGNAME.

    I do drag XLATLONGNAME of PSXLATITEM table in my grid and make related field and "TEST_Type" a related control field.

    Show LongName according to the value "TEST_Type.

    If the field 'TEST_Name' RowInit, I wrote

    If GetRow(). IsNew and
    No (MYRecord.TEST_NAME. Value) then
    MYRecord.TEST_NAME. Value = GetRow(). GetRecord (Record.PSXLATITEM). GetField (Field.XLATLONGNAME). Value;
    End - If;


    It gives an error

    "Class line method GetRecord account PSXLATITEM is not valid. (2 268)

    MYRecord.TEST_NAME. RowInit

    The recording has been used as a parameter of the specified method. It is not valid for the current object. »

    What is the problem?

    Is there a better solution for this use case?


    Thanks in advance

    I think you mix a few think upwards.

    The drop is on a class with the values of translate. So, when you set the property to the field from the drop-down list page to view the longxlatitem, you are finished.

    If you want to copy the xlatlongvalue for some reason any other areas, use instead the domain object properties.

    & dropdownlownlist = getrecord([YOUR_RECORD]).getfield ([YOUR_FIELD]);
    VALUE = & dropdownlownlist. LongTranslateValue;

    Kind regards

    Halin

Maybe you are looking for