Editable Drop-Down List

Hello!
I am using Dreamweaver's Editable Drop-Down List
Application panel, Server Behaviors > + > Developer Toolbox > Form Controls > Editable Drop-down
Which has been a GREAT option, but I need to add on 1 option, when I am about to ADD an item to the list, all you can do is add 1 item to 1 column in a database.
Database Struture:
listid   userid   listItem    listitemValue
But all I can get it to update is listItem I need to be able to when the button, "ADD THIS" is pushed, that I can add a value to USERID also, is this possible? I tried diving deap into it, but some certains things I just didn't understand that far down.
Any help would be greatly appreciated!
Cheers, and thank you in advance.
Justin

Ok I completely misunderstood. Sorry for the confusion. I'm afraid I may not be much help on this particular function. Some functions I've really torn apart and modified, this is not one of them.
This does not look like one of the more simple functions to change unlike some others,
Before trying to go into lengthy info on how to break it down, is there any chance the info you are trying to update is some type of default name or incremental name, something than can be hard coded? ..or is it unique like a visitor, so you are pulling down each time? Ex:  User1, user2    vs.   sally101, david2009, etc.
IF not, there are a several lines of variable setting and function modification to change at first glance.
I can look into later, but the variables are not even in the same insert function page.
Here is the Key line in WDG_recordsetInsert.php,
$sql = 'INSERT INTO ' . $vars['table'] . ' (' . KT_escapeFieldName($vars['updatefield']) . ') VALUES (' . KT_escapeForSql($text, 'STRING_TYPE') . ')';
but the vars appear to come out of an array in  'WDG_functions.inc.php : here is the function variables being set for the insert function above
$WDG_sessInsTest = &$_SESSION['WDG_sessInsTest'];
     $WDG_sessInsTest[] = array(
          'conn' => $connectionName,
          'rsName' => $rsName,
          'table' => $sqlTable,
          'idfield' => $idField,
          'updatefield' => $updateField     );
This array (at first glance) could be modified, but I can't promise that the vars will carry through because I don't see exactly where this array is being used again.
As I mentioned, if the values you need are something you could hard code and increment, you could easily modify the 'insert to' function above.
I would also toy around with some $_POST data and Session data vars and see if you can drop those straight into the sql statement above.
Sorry I can't be more help on this one.

Similar Messages

  • Edit drop down list in SHD0(transaction variant)

    Hello all,
    How can we control the values displayed in drop doen list using transaction variant? i am using SHD0 to create a transaction variant and want only few values to be dispayed in drop down list instead of all the values in orignal transaction.
    Thanks
    Arjun

    As far as I konw, you can not.
    You can edit the properties (Visible/Invisible, etc ) but not restrict the values originally displayed.
    Regards

  • Editing drop down list

    How can I show the drop down list box as empty or blank when not used as I would like to use the drop down list on a form that has multiple lines for name entries but sometimes I will not populate all of the available lines?
    I am using livecycle designer 8.0 under the vista operating system on a hp 9000 laptop with 2GB of memory.

    Not sure how this is related to Workspace, maybe you can post this on the designer forum. http://www.adobeforums.com/webx/.3bca1ed7/

  • Sugar CRM issues: can't create or edit drop-down lists

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/822646''
    Sugar CRM CE 6.2.0 will not let me add drop down boxes in Firefox. Yes I've cleared the cache. Yes I can do what I need in IE8. Yes the server permissions have been checked by the web host.
    IE8 was partially faulty but works since the host reset my permissions.
    Initally I got this errror:
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; Tablet PC 2.0; .NET4.0C; InfoPath.3)
    Timestamp: Mon, 16 May 2011 05:51:03 UTC
    Message: 'inputsWithErrors[...].style' is null or not an object
    Line: 1
    Char: 1
    Code: 0
    URI: http://www.[hostname].com/beta3/index.php?module=ModuleBuilder&action=index&type=dropdowns
    Message: 'inputsWithErrors[...].style' is null or not an object
    Line: 1
    Char: 1
    Code: 0
    URI: http://www.[hostname].com/beta3/index.php?module=ModuleBuilder&action=index&type=dropdowns
    Can anyone suggest a fix for FF so I can stop using horrible IE?
    Thanks in advance,
    Jo

    Just look a little lower on the left-hand side. It's under the "Links" category, just below "customer ratings" and "more from..."

  • How to modify the size of the editable drop down

    I have used the editable drop down list which works perfectly. The only problem i find is that it has a static width, unlike a regular select/option list that adjust according to the lengh of the data that is in it. Is there any way i can adjust the width of the editable drop down list. Thank you.

    try removing the width completely...leave that field blank

  • How do I edit a drop down list in a form just created?

    I have created a form with several drop down lists.  During the design process, I did not enter in data for the drop down, however cannot figure out how to edit that now.  Please help!

    GKaiseril - can you help me please?
    I've created a fillable form in Adobe Professional and my text boxes are prefilling...I did a few tests and it promts me to use the language used in my testing.  I do not want the text boxes to show prefilled options.  I checked Options tab and it does not have any values.  I am not sure why it's prefilling and how to remove it.  Any suggestions?

  • Drop-down list in editable ALV

    Hello all,
    Does anyone know how to display the values instead of the internal values when using the alias table to specify a drop-down list in an editable ALV grid ?
    Apparently the BC_ALV* examples have the same problem.
    thx
    Pieter

    Hi,
    These links will help you to implement a drop down list...
    http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm
    Also refer the pgm:
    RSDEMO_DROPDOWN_LISTBOX
    BCALV_TEST_GRID_F4_HELP
    Also take a look the SAP example program BCALV_TEST_GRID_EDITABLE.  It has a working Drop Down List Box.
    You have to fill a table of type lvc_t_drop. In this you set a handle and value for every item you want to have in a all possible drop down lists. You will later connect a sub set of this data to your grid display data by joining on this handle. You can then send this table to your ALV grid using the method SET_DROP_DOWN_TABLE. You will also want to set the DRDN_FIELD in your field catalog to the field name in your data table that will contain the handle for the values in your drop down table you want to expose. You will need to add this field to your data table.
    Best Regards,
    Anjali

  • Where is the drop down list with "edit web part" for a list??

    In Sharepoint 2010, there was a drop down list to the far right of a list.  One of the options was to Edit Web Part.  In Sharepoint 2013, I can't find the drop down list.  Nothing is to the right of my list and mouse overs down't reveal
    anything.  I am trying to get to that area to change my toolbar type.  Any clues as to where the "edit web part" has gone to?

    I've been able to edit Web Part properties for weeks, but a few days ago, I could no longer do it, either by using the checkbox in the upper right corner of the web part or by using Web Part Properties in the Web Part tab.  It's greyed out.
    Then yesterday I could do it again and today I can't.   An intermittent problem!
    No one has changed any Sharepoint Admin settings.
    Anyone have any ideas?  They would be greatly appreciated.

  • How to change number of remembered items which would be shown in drop down list for edit controls. This use to be at least 5 I think, but now it is only 2!

    I need to see 3 different remembered usernames in drop-down list for username input.

    Works fine here. I can see at least four user names in the drop down list of a login form.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • A custom view in the Edit drop-down

    Hi,
    How could I create a custom view and add it to the Edit List Item drop-down in SharePoint 2013? This screenshot shows what I mean in SharePoint 2010:
    I'd like to have a menu item Custom View below Edit Properties in the drop-down list. When the user clicks the item I'd like to redirect to my layout page.
    Thanks,
    Leszek
    Wiki: wbswiki.com

    Hi ata6502:
    Adding a user custom action for list items
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class CreateUserCustomActionList
    static void Main()
    string urlWebsite = "http://MyServer/sites/MySiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    UserCustomAction oUserCustomAction = collUserCustomAction.Add();
    oUserCustomAction.Location = "EditControlBlock";
    oUserCustomAction.Sequence = 100;
    oUserCustomAction.Title = "My First User Custom Action";
    oUserCustomAction.Url = urlWebsite + @"/_layouts/MyPage.aspx";
    oUserCustomAction.Update();
    clientContext.Load(oList,
    list => list.UserCustomActions);
    clientContext.ExecuteQuery();
    Modifying a user custom action
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class ModifyUserCustomAction
    static void Main()
    string urlWebsite = "http://MyServer/sites/SiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    clientContext.Load(collUserCustomAction,
    userCustomActions => userCustomActions.Include(
    userCustomAction => userCustomAction.Title));
    clientContext.ExecuteQuery();
    foreach (UserCustomAction oUserCustomAction in collUserCustomAction)
    if (oUserCustomAction.Title == "My First User Custom Action")
    oUserCustomAction.ImageUrl = "http://MyServer/_layouts/images/MyIcon.png";
    oUserCustomAction.Update();
    clientContext.ExecuteQuery();

  • Using getElementById() to get values from drop down list

    Hi, I am using Netbeans to write this program. I have this .java page that gets the url of the HtmlPage from the .properties page. And when this page is opened in the browser, there are drop down lists that have values I want to get from the user when he/she has selected, and save it to a database. I'm actually using mozilla firefox to open this page, and using firebug to inspect the drop down list element.
    I know getElementById is a javascript code, however, my friend told me to use it in the .java page. This is how part of my code looks like. What I'm not sure is how to implement getElementById() and where.
    HtmlPage pageMain =EBPage;
    WebRequest postRequestSettings = new WebRequest(
    new URL(getProperties("trustAdmin")), HttpMethod.POST);
    *// Set the request parameters*
    postRequestSettings.setRequestParameters(new ArrayList());
    postRequestSettings.getRequestParameters().add(new NameValuePair("component", "edit"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("formids", "unixTime,instance,time,description,message"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("page", "Status"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("service", "direct"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("session", "T"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("submitmode", "submit"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("submitname", ""));
    *// Insert instance of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("instance", instance));
    *// Insert content of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("message", message));
    *// Insert description of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("description", description));
    *// Insert time of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("time", time));
    *// Convert time to unix seconds*
    postRequestSettings.getRequestParameters().add(new NameValuePair("unixTime", String.valueOf(System.currentTimeMillis() / 1000)));
    HtmlPage newPage1 = pageMain.getWebClient().getPage(postRequestSettings);
    WebRequest requestSettings = new WebRequest(
    new URL("http://www.google.com"), HttpMethod.GET);
    requestSettings.setRequestParameters(new ArrayList());
    requestSettings.getRequestParameters().add(new NameValuePair("page", "Preview"));
    requestSettings.getRequestParameters().add(new NameValuePair("service", "page"));
    newPage1 = newPage1.getWebClient().getPage(requestSettings);
    And I'm told to insert page.getElementById() in the place shown below:
    HtmlPage page = null;
    page.getElementById()_
    *try {*
    *// Login proxy*
    page = (HtmlPage) jsonBrowser.getPage(getProperties("jsonBrowser"));
    String proxyUrl = page.getForms().get(0).getAttribute("action");
    System.out.println("Proxy Url" + proxyUrl);
    WebRequest requestSettings = new WebRequest(
    new URL(proxyUrl), HttpMethod.POST);
    requestSettings.setRequestParameters(new ArrayList());
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_PASSWORD", password));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_PRIVATE_CHALLENGE_STATE", ""));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_REQUEST_ID", ""));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_USERNAME", userID));
    *// Get the page*
    page = page.getWebClient().getPage(requestSettings);
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.INFO, "===================================Login in Trust");
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.INFO, page.getWebResponse().getContentAsString());
    *} catch (IOException ex) {*
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.SEVERE, null, ex);
    *} catch (FailingHttpStatusCodeException ex) {*
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.SEVERE, null, ex);
    return page;
    Any help would be greatly appreciated. Thanks.

    I want to value drop down list from seeded page of EBSString picklistvalue = pageContext.getParameter("PickListBeanID"); //PickListBeanID is the ID of the MessageChoiceBean
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • How do I create a drop down list to e-mail a form for signature.

    The desired workflow is for
    1)      Firefighter 1 to complete the top portion of the Agreement
    section, sign in the Firefighter 1 signature field (which locks the top
    portion of the Agreement Section), then select Firefighter 2 from the
    e-mail drop down list and e-mail the PDF form to Firefighter 2;
    2)      Firefighter 2 opens the e-mail and the PDF attachment,
    completes the second portion of the Agreement Section, sign in the
    Firefighter 2 signature field (which locks the bottom portion of the
    Agreement Section), select Lieutenant 1 from the e-mail drop down list
    and e-mail the PDF form to Lieutenant 1;
    3)      Lieutenant 1 opens the e-mail and the PDF attachment, checks
    the approved box, signs the Lieutenant 1 signature field, select
    Lieutenant 2 from the e-mail drop down list and e-mail the PDF form to
    Lieutenant 2;
    4)      Step three continues through Lieutenant 2, Battalion Chief 1
    and Battalion Chief 2
    5)      Battalion Chief 2 sends the fully completed form back to
    Firefighter 1 who copies the completed form to Firefighter 2
    Note: if any of the officers disapprove the agreement the disapproved
    form is immediately sent back to Firefighter 1

    katiesandell wrote:
    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
    Hi Katie,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
    See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
    This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
    Regards,
    Barry

  • How do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
    To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
    If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
    The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users.

  • How do I add a drop down list of options to a column in a Numbers spreadsheet?

    I need to be able to select from a drop down list in a column in a Numbers Spreadsheet . . ..  how do I create this?

    b,
    Pop-up menu, as it's called i Numbers is a Cell Format option.
    Select the cells that you want to format as Pop-up
    In the Cells Inspector, Choose "Pop-up menu"
    In the Cells Inspector, the default menu is 1, 2, 3 - Edit these entries to your liking. It will apply to all the selected cells.
    Regards,
    Jerry

  • How do I remove an entry from the "Store Files" drop down list in the "Import Settings" section of Aperture 3.3.2

    The dropdown list "Store Files" in the "Import Settings" section of Aperture 3.3.2 displays the history of the entries previously added to the list. Some of the entries are no longer valid and I'm trying to delete them but I can't find a way to do this. This is a screenshot. Does anyone know how to do this?

    Once again - the Jive system ate my bullet points and messed up the formatting
    Is the MacOS X version in your signature correct? Then you cannot be using Aperture 3.3.2?
    You should not be seeing duplicate entries in the "Store Files" pop-up menu. This looks like your Aperture Preferences file is corrupted and needs fixing.
    Quit Aperture (and log off and on again, if you are running MacOS X 10.7 or later)
    Then reveal your User Library (from the Finder's main menu bar, the "Go" menu. Hold down the options-key until the library apears in the drop-down menu)
    In the Library folder select the "Preferences folder and locate the file "~/Library/Preferences/com.apple.Aperture.plist"
    Now you can either
    remove the com.apple.Aperture.plist file to the Desktop, to force Aperture to create a new one, but you will have to set again your Preferences from the "Preferences" panel,
    or make a backup copy of the file and edit it, if you are an experienced programmer and have Xcode installed. To fix the drop-down list you need to edit the item "RecentReferenceFolders" and delete the redundant folder names. Enter "recent" into the search field to find it quickly. If you click an item in the list, plus/minus buttons should appear. But only try this, if you know how to edit property lists, otherwise it will be much safer to delete the faulty list and to set your preferences again from the "Preferences" panel.
    Regards
    Léonie

Maybe you are looking for

  • Limited Personas-is there a fix for this?Pervious thread has closed

    The previous thread on limited personas was closed with no difinitive answer.Is there a fix for this or am I limited to just 8 or 9 personas.A bit frustrating as Ive searched every where for an answer here to no avail. Any help or 'fix' would be grea

  • Photoshop cc will not install error message ex20

    Uninstalled Photoshop CC because it would not open. Tried to reinstall but installation failed with code ex20. Any ideas?

  • What is JCAActivationAgent?

    when i create a File Adapater or JMS adapter, i notice below entry in bpel.xml. <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="JMSService"> <property name="portType">Consume_Message_ptt</property> </activ

  • Pencil/Paintbrush vs. Pen

    I'm still learning to use the Pen tool, in the meantime, I'm drawing artwork with the Pencil and Paintbrush. 1. After mastering the Pen tool, are there reasons to still use the Pencil or the Paintbrush? 2. I drew two shapes once with the Pencil and o

  • Sync of passwords between members of a forest trust

    I am needing to sync passwords between 2 separate forests. Want I am hoping to do is have any changes made in Forest A (primary) be transferred to Forest B. This is for a separation project separating to colleges into separate entities but we need to