How to delete an item from the addItem list after it is entered in a field

I have a form which contains a list of names. My problem is, I would like the form to remove a name after it is entered so that on the next row that name does not appear. For example, I have on the preopen event:
Name.addItem("Andrew")
Name.addItem("Bernie")
Name.addItem("Chris")
Name.addItem("Doug")
and I select  'Bernie", I would like the next row to only have 3 names excluding the one I previously selected. And in the end, it should have no names if all four names have been selected, or should display a message.
Is it possible to do this in LC. either in javascript or Formcalc.
Thanks.

I have checked the above example and it works perfectly for static fields. My problem is that the form I am using using employs the addinstance script to add new rows. How do you script for the new rows to not include names that have already been selected.
In the example, I would like for new rows to exclude names that have previously been selected.
Thanks.

Similar Messages

  • How can we remove items from the VF04 list?

    We have a long list of items in VF04 that, for various reasons (some process related, some due to errors), are not to be billed. We have looked at applying filters to the list but there is nothing really suitable to hide these individual documents e.g. we could filter out some dates where none of the items on that date are to be billed but other dates have a mix of items we want to bill and others we don't.
    I have done a search of this forum but didn't find a previous topic with a quick and simple method to remove items from the list .
    Is there a method, other than billing them or sorting each issue individually, to permanently remove individual documents from the VF04 list?
    Thanks in advance for any help.
    David

    Hi,
    David,
    Download a list of Pending delivers doc form VF04.
    Paste the list in T.Code : VL09 (Delivery reversal) and reverse the delivery.
    Then go to T.Code: VL06G Select the list of deliveries that has been reversed, select/delete all un- wanted deliveries.
    This way you can remove all unwanted pending deliveries forn Billing due list (VF04).
    Thanks & Regards,
    R.Janakiraman

  • How to delete an item in the Source List?

    LimeWire arbitrarily entered an item in the source list of iTunes entitled "Buck's LimeWire Tunes". The item is a blue box with a musical note on it. How may I eliminate this box and the files associated with it?

    item is a blue box with a musical note on it. How may
    I eliminate this box and the files associated with it?
    Uninstall Limewire.

  • How do you remove items from the popular list

                   How can I remove unwanted items in the popular list?

    Click here
    and then click Edit in the lower left corner of the window that opens

  • How do I remove items from the reading list in safari?

    I have old items on my reading list in Safari.   I can delete unused book marks but how do I remove reading list items?

    Swipe across their name in the reading list and you should get a Delete button appear

  • How to delete multiple variables from the variables list

    Hello,
    Iam using FrameMaker 9.0. Is there a way I can select multiple variables from the book and delete them together.
    Thanks,
    CP.

    NO in FM9. Take SQUIDDS TOOLBOX the free tool: 'Formats'
    'Formats' is a very helpful tool for 'deleting' paragraph formats, character formats, cross reference formats, table formats, color definitions and variables.
    You can delete unused one or all formats of selected. For paragraph and character you can also decide to 'add new one in catalog'.
    -Georg

  • How do I remove items from the "favorites" list on the sidebar?

    When I open up a new folder there is a favorite list on the side.  Somehow, random documents and folders appear there.  When I went to the settings I couldn't find how to remove them and when I went to the preferences for finders I saw how to add different icons, but not how to remove these docs/folders from showing up there.  Any suggestions?

    I figured it out.  I read a few of the things on this site and they weren't totally helpful, but messed around and from their suggestions I figured it out!
    Hold Control
    Click on the item you wish to remove
    A list will appear with one of the options being "Remove from Sidebar"
    Click Remove from Sidebar

  • How can I delete an item from the main left column of iTunes?

    I'd like to delete an item from the main left hand column in iTunes (the column containing the main headings LIBRARY, STORE, SHARED, PLAYLISTS etc etc). Under the first heading 'LIBRARY' appear the items Library, Music, Movies, iTunes U, Books, Apps and Ringtones. I'd like to remove the item "Library" from that list - it appears immediately after the heading "LIBRARY" and serves no purpose whatsoever. (Neither does it appear to cause any harm, I must say, just a nuisance.) This item does not appear in any of the iTunes viewing options or controls lists. Neither does it appear in iTunes in the other accounts on my Mac and I have yet to see it any other iTunes on any other Mac.
    I've upgraded since about iTunes 8 assuming the problem would eventually disappear through the upgrades but it hasn’t, even through all the providedupgrade increments available for iTunes.
    I'm assuming it's from something I've installed in my main user account at some stage and it entered this item in the iTunes app. But I can't see how to remove it. The only things I can remember installing are "iTunes Batch Column Renamer" and "Join Together", both if which are just Scripts and which I use fairly regularly, but I don't recall either of them installing that particular item.
    Is there any folder I can navigate to to edit the list of items in that main left hand column of iTunes?
    Many thanks in advance for any help offered.

    on second thought, that you have an item "library" is indeed odd - there shouldn't be.
    suggest you try removing iTunes completely (click here and follow the instructions), then reinstall it using the standalone installer from here: http://www.apple.com/itunes/download/.
    note this will not do anything to your media files, playlists, ratings, etc.
    btw, you didn't install any 3rd party tools like this script:
    Change Hidden iTunes Preferences v2.4 
    This application will allow you to invoke hidden iTunes preferences:
    Show "Library" playlist
    Changing view setting is global
    Allow half-stars in ratings
    Hide "Ping" buttons
    Show/hide arrow links -- to either search the iTunes Store or search your library
    Load complete iTunes Store preview before playing
    Create playlists for purchased song collections
    Play songs while importing or converting
    Create file names with track number
    Maintain grid view for Search results
    Option-click zoom button for Mini Player&
    Show buttons horizontally
    Message was edited by: Jolly Giant

  • How can i delete purchased items from the cloud in iTunes

    how can i delete purchased items from the cloud in iTunes

    I had this problem as well. You can't delete them but you can hide them by swiping across from the cloud to. The other side then pressing hide

  • How do you delete items from the reading list?

    How do you delete items from the reading list?

    I'm trying to mark your reply as "solved my problem", but I can't see where to mark it. I tried to mark it in the email that came to me with your answer, but it went to a screen that said NOT FOUND. Help?

  • How do I permanently delete an item from the bookmarks bar?

    When I right click and delete a bookmark in the bar, it disappears but comes back after I have shut down my computer and later boot up again.  How do I get rid of it permanently? 

    If by chance you have v10.7 Lion installed not v10.6.8 as your profile suggests, deselect Safari in System Preferences > iCloud then try deleting an item from the Bookmark bar.

  • How do you remove items from the assets panel that are duplicated?

    How do you remove items from the assets panel that are duplicated?

    If you add an item to a slideshow, you'll usually see 2 entries for that image in the assets panel - one represents the thumbnail, and the other represents the larger 'hero' image.
    It sounds like you may have added the same image to your slideshow twice. You can select one of the hero images or thumbnail images in your slideshow and use the delete key to remove it. Then the extra 2 entries in the assets panel should disappear.

  • Epson Stylus Photo 1290 - how do I remove items from the print queue?

    Description of problem with "Epson Stylus Photo 1290" Application:
    After selecting Show Completed Jobs from the main menu (Jobs > Hide/Show Completed Jobs) I am presented with a status list of print jobs (a.k.a. "print queue") that are either marked as "Completed", "Cancelled", "On Hold", "Printing" etc. Each and every time I print an item it is added to this list.
    I simply want to clear this list.
    However, the application's "Delete" button appears to only transform a "Printing" job to a "Cancelled" job, for example.
    So how on earth do I clear the old (and, to me, useless) jobs listed in this print queue?
    I know this isn't apple software but seeking help on the EPSON sites (and the rest of the net) has led me nowhere.
    Many many thanks in advance if anyone can suggest anything!
    My set-up:
    Hardware:
    Model Identifier: MacBookPro5,1
    Boot ROM Version: MBP51.007E.B05
    SMC Version (system): 1.33f8
    Running: OS X 10.5.8
    Problem App: EPSON Stylus Photo 1290.app, version 6.0.3
    Queue name: EPSONStylus_Photo1290
    Host name: localhost
    Driver version: 3.09 (confirmed as latest)
    URL: usb://EPSON/Stylus%20Photo%201290?serial=WORLL0112061542320
    Have print log files been cleared: Yes (using MacPilot)
    Have print preferences been trashed/reset: Yes (all that I could find)
    When did this problem start: not sure, I first noticed it several months after first using it on my MBP 10.5.x

    Hmmmm. Doesn't look like I can edit my post. Okay.......
    Contrary to what I've said above, this IS an Apple issue as the problem lies in the Print Queue, which is part of the OS.
    The "fix" is to go System Preferences > Print & Fax and then delete the 1290 from the list of printers.
    When the 1290 printer is re-added its print queue is now empty AND the Delete button does as it is supposed to do - it deletes items from the queue list.
    Hooray!

  • HT5429 How do I remove items from the "current location/to" list?

    In MAPS, how do I remove items from the "current location/to" list?

    Hit the book icon and you will see delete all option. I have not found a way to delete them one at a time.

  • How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    You can't remove the built-in root certificates, but you can remove their trust bits via the Edit button to prevent Firefox from using them as a trusted root certificate.
    Intermediate certificates that Firefox has stored when visiting websites that show as "Software Security Device" should never has trust bits set.
    Note that it is the responsibility of a server to send all required intermediate certificates to make it possible to build a certificate chain that ends with a built-in root certificate.

Maybe you are looking for

  • Yoga 2 Pro Tent Mode/Mode Switch Issues

    Hi, I can't get my lenovo yoga 2 pro to go into tent mode. In fact, the screen won't even do a full 180 degree flip, but it will do a 90 degree flip to vertical (so I know the screen flip is working to a degree). Further, when switching to tablet mod

  • How do I resolve error 10057 when trying to set up my airport express to extend the range of my wireless network

    I have a Dell XPS running on Windows 7 and use an AirPort Extreme 802.11n Wi-Fi to get wireless internet access for other laptops in the home. I want to connect an AirPort Express 802.11n into the network to wirelessly extend the range of my wireless

  • Error Code 5 Help - Can you recover a damaged file?

    I've been working on a document in indesign that I've been saving on a regular basis. Tonight, my file cannot be opened as it is damaged / corrupt. Error Code: 5 Anyone know how to fix this or software that works to fix and recover damaged files? Re-

  • Mobile radio app

    My name is Rene, I live in Atlanta GA and I just brought the BB Pearl 8100 for my younger daughter and I May 30th. I am still trying to adjust to the qwerty keyboard for texting, but for the most part I am finding out that this phone is really user f

  • For Taking Backup with BRTOOLS

    Hello, I want to take backup with BRTOOLS utility. Please tell me that exact scenario of taking backup with BRTOOLS. Thanks Mohit