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.

Tags: Dreamweaver

Similar Questions

  • 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

  • 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.

  • 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

  • How to restore the search bar drop-down list and the search engine icon today as it was in version FF 33?

    Some ealier time, I managed to go back to the drop down list via editing about: config and setting browser.search.showOneOffButtons to false.

    But yesterday firefox asked me to improve my search and I agreed. After that, I see ugly new tile instead of the drop-down list.

    How can I go back to find it is old menu drop-down appearance?

    "browser.search.showOneOffButtons" was a temporary pref which lasted from Firefox 34 upward through 42 of Firefox. The underlying code that have supported this preference is gone like Firefox 43.

    https://addons.Mozilla.org/en-us/Firefox/addon/classicthemerestorer/ has an option for old search (experimental) in Options of CTR > UI (1)

  • How to change or remove a line from a drop down list?

    I have a spreadsheet Numbers drop down box that shows the 3 lines of the text when I start typing the text in the cell. I have to enter the same text 3 times during the construction of the document. How can I remove 2 of these lines of text?

    Hi Brudduh,

    Click the cell that contains the context menu,

    Click on the brush to Format to open the Format Inspector and click cell.

    The Inspector displays the menu items in the context Menu in this cell.

    • To remove a menu item: click on the item to select. Click the button below the list.
    • To edit an item: double-click on the item to select content. Modify if needed.
    • To add an item: click on the button +. Type the content of the element.

    To use the same drop-down list in a different cell:

    • Click the cell that contains the menu to select. Copy.
    • Select the cells to the same menu. Dough.

    Kind regards

    Barry

  • How can I delete a site to appear in my address bar drop down list?

    I'm looking for a way to remove a Web site or included in the dropdown when I type things in my address bar.

    I deleted the history and cookies associated with it, but to no avail.

    I have access to my router; I type 192... and it brings up the link to my old router, which does not work. Get annoyed to have to scroll down to get the new, genuine link.

    Solution? See you soon.

    If you want to delete data in a drop-down list, and then use the following steps:

    1. Select an entry in the drop-down list
    2. Press the DELETE key (on a Mac: shift + delete) to remove it.

    Entries in the bar location drop-down list with a yellow star (blue on Mac) at the right end of the bookmarks and Scripture cannot be cleared from the location bar menu drop down with the delete key.

    You can delete this an item marked with a bookmark that appear in the list, if you open this url in a tab and click on the yellow star in the address bar.

    This will open the "Edit this bookmark" dialog box and you can click on the delete button to delete the bookmark if you want to delete such an entry marked with a bookmark.

  • drop-down lists on the forms don't drop-down list

    I use Firefox 3.6.16 on Mandriva 2010.2 and for the last two months, the drop-down lists don't dropdown. I thought a patch would come out to fix it or it would be one of my modules cause. There was an update recently and it has not fixed. Today, I've disabled all addons and restarted, but still it does not allow me to make a choice with the mouse.

    There are many similar problems with FF4, but none of the solutions appear to be relevant.

    Anyone got any suggestions?

    < edit > I just disabled all the plugins too but still the same. What I noticed at the time, is that there seem to be two versions of Flash installed, but only the first shows under tools modules Plugins

    There is no need to create a new thread. You can edit your first post and change the title, if you want to change it or I can do it if you post a better title.

    Problems with a menu drop-down does not not can be caused by an extension.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Tools > Modules > appearance/themes).

    See:

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')
  • I disabled the menu and cannot access the drop-down list to get back them

    I disabled all the menus to make a screenshot and now I can't access the drop-down list to get back them

    This has happened

    Just once or twice

    is today

    You can hide the menu bar in Firefox 3.6 on Windows, on "view > toolbars" or via the contextual right click menu on a toolbar.
    Press in and hold the Alt key to display the menu bar.
    Go to "view > toolbars", right click on the menu bar, or press Alt + V T to select the toolbars to show or hide.

    See also what happened to the file, edit and view menus?

  • How to change the items in a drop-down list box that is part of an array of clusters

    Hello

    In the attached vi, I have an array of clusters and each cluster contains two drop-down list boxes. How can I edit the items in the drop-down list box 1 for all elements in the array? (All elements of list box 1 has the same elements.)

    By way of illustration, I have also included the case of trivila, for example, edit the items in a separate drop-down list box that is is not part of an array of clusters (combo box 3). Please notify. Thank you.

    Peter

    Right click on the drop-down list box and select Create-> Node-> String() property. Place it on the block diagram. Change to write (right click) and then feed him an array of strings.

  • DROP-DOWN LIST BOX STRING

    Hi all

    The string that is displayed in the drop-down list box is on the left side, is there a method to move it to the Center.

    without spaces before the string in the edit points.

    The image is attached below

    Hello Shrekt,

    set the focus on your drop-down list box (click on it) and then change its text properties.

  • mysterious e-mail addresses appeared in my touch menu drop-down list but no Contacts. How can I delete?

    Unknown contact group appears at the bottom of the drop-down list when you click on the button 'to '. These group names are not in my contacts list, so can't edit them... I can't remove this element from the drop-down list. How can I remove them?  Thank you.

    Hotmail questions need to be asked here: http://windowslivehelp.com/product.aspx?productid=1.  Can't help the people in these forums.  You could also ask your question on Hotmail Facebook page at https://www.facebook.com/Hotmail.  Sometimes the messages in a very public place get more attention.

Maybe you are looking for