Flash form error, can't use the same name more than once? need workaround

I've always written my forms to have multiple buttons, one
for updating and one for deleting. so in html I would do this:
<input type=submit name=action value=Update>
<input type=submit name=action value=Delete>
so I'm trying the same thing with flash forms in cold fusion:
<cfinput label="Update" name="action" type="submit"
value="Update">
<cfinput label="Delete" name="action" type="submit"
value="Delete">
but now I get this message:
2 Errors found.
Error /index.cfm:334
id 'action' was already defined on line 333
Error /index.cfm:335
id 'action' was already defined on line 333
Is there a way to make this work or do I have to either
create a special action_delete or a new form? I'd like to keep the
logic the way I like.
Any suggestions?
Thanks,
John

I was hoping to do logic like this
<cfparam name="action" default="list">
<cfif action equal "list">
<cfelseif action equal "update">
<cfelseif action equal "detail">
<cfelseif action equal "delete">
</cfif>
So I just converted everything to html and things work the
way I like. thanks anyway. The forms don't really buy me anything.

Similar Messages

  • HT204370 Can I rent the same movie more than once?

    Can I rent the same movie more than once?

    Yes, as long as you do so within the 24/48 hour period.
    (73178)

  • Using firefox 5 - when ever I try to use the same key more than once in a row, it does not work. Hitting the multiple times does nothing at all. How can this be corrected. HELP!!!

    everything that needs to be done on the keyboard is effected - letters, numbers, backspace, directionals, delete, home, end, page up, page down, '''all keys that are pressed more than once''' It does not matter what webpage I am on.
    PLEASE HELP
    this is very frustrating

    You may have switched on an accessibility feature called FilterKeys by keeping the Shift key pressed for too long.
    * http://www.microsoft.com/enable/products/windowsxp/default.aspx
    *http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/access_filterkeys_turnon.mspx?mfr=true

  • How can I add the same song more than once?

    how can I add the same song to my ipod shuffle more than once?

    Thanks. I tested it, and found that I can create a bookmark in FolderA, and them manually copy it to FolderB, FolderC, and FolderD.
    Once that is done, I tried the old method of "Bookmarks" --> "Bookmark This Page" and added it to FolderE. When I did that, it deleted the copy in FolderD but left the other three alone!
    This is fine with me. I personally think this is a bug, because I don't think that Firefox should ever delete a bookmark without asking me (or at least, informing me). But now that I understand the algorithm, I can work around it. Thanks!

  • How can I bookmark the same site more than once?

    I have a large number of bookmarks, organized into many folders.
    Sometimes I want two copies of the same bookmark, in different folders. But Firefox 3 does not seem to permit this. If the bookmark already exists, in _any_ folder, adding it to a different folder deletes the earlier copy.
    REPRO: Go to a page with a fixed URL. Choose "Bookmark This Page", select FolderA in your bookmark folders, and press Done. Now choose "Bookmark This Page" again, and this time choose FolderB. EXPECTED RESULT: The page in question should now appear in both FolderA and FolderB. ACTUAL RESULT: The page is in FolderB, but _not_ in FolderA.
    Is there any way to avoid this? I use folders to save myself a lot of time. For example, when I need to work on a paper for one of my classes, I go to the appropriate bookmark folder and choose "Open All in Tabs". When I want to work on a different class, I go to a different folder and choose "Open All in Tabs." But I am unfortunately prevented from placing a site in both folders!

    Thanks. I tested it, and found that I can create a bookmark in FolderA, and them manually copy it to FolderB, FolderC, and FolderD.
    Once that is done, I tried the old method of "Bookmarks" --> "Bookmark This Page" and added it to FolderE. When I did that, it deleted the copy in FolderD but left the other three alone!
    This is fine with me. I personally think this is a bug, because I don't think that Firefox should ever delete a bookmark without asking me (or at least, informing me). But now that I understand the algorithm, I can work around it. Thanks!

  • Can I use the CD key more than once?

    I bought Lightroom as a Christmas present for my husband this year, but his laptop was stolen recently. It will be a few months before we can afford getting him a new one, and I want him to still be able to use Lightroom until then, so I was considering installing it on my computer, if it will do so (my computer is getting a bit old). But I don't want to do that unless he'll still be able to use the CD key to install it on a new laptop once we get him one. I've never had to worry about installing software on more than one computer, so I'm not completely sure of myself here. Any advice?

    LR’s license, like most Adobe products’ licenses, is for one person on two different computers, with a desktop and a laptop or a work computer and a home computer being the typical examples, as long as only one of those computers is used at a time.

  • What are the pros and cons of using people keywords, given that my catalogue is already uptodate with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular

    What are the pros and cons of using people keywords, given that my catalog is already up to date with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular keyword in the same photo?

    What are the pros and cons of using people keywords, given that my catalog is already up to date with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular keyword in the same photo?

  • HT1933 what if I bought the same game more than once from i tunes by mistake how can i claim a refund?

    what if I bought the same game more than once, How can I claim a refund from I tunes store?

    You can try contacting iTunes Support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Use of same filed more than once in module pool program.

    hi Good day,
    i want to use a filed on the screen more than once.
    ex : T7EHS00_EXA_PHY-UNIT
    the reason why i want to use this field more than once is b'coz it has SEARCH HELP.
    If i use this filed search help is created internally.
    to be more specific :
    i have
    screen field    screen field
    xys                unit of meas.
    abc                unit of meas.
    def                 unit of meas
    ghi                 unit of meas.
    jkl                  unit of meas.
    but SAP Does not accept the same field more than once.
    in this case what can i do?
    thank you,
    J.

    Hi Jacob,
    use like this....
    data : i1 type T7EHS00_EXA_PHY-UNIT ,
            i2 type T7EHS00_EXA_PHY-UNIT,
            i3 type T7EHS00_EXA_PHY-UNIT,
            i4 type T7EHS00_EXA_PHY-UNIT.
    In the screen properties,
    Give search Help-----> H_T006
    Declare the name in program as given to IO filed name...
    Hope you Understood...
    Regards,
    Vijay SR

  • How do I repeat the same row more than once in report 10g

    How do I repeat the same row more than once in report 10g
    So I can print the bar code more than once
    in report;
    Edited by: user11106555 on May 9, 2009 5:50 AM

    GREAT THAN X MAN
    It is already working, but with the first ROW
    select ename from emp
    CONNECT BY ROWNUM<=5
    ENAME
    SMITH
    SMITH
    SMITH
    SMITH
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    BUT I want this result
    Item1
    Item2
    Item3
    to
    Item1
    Item1
    Item1
    Item2
    Item2
    Item2
    Item3
    Item3
    Item3

  • How do I get itunes to not list the same artist more than once?

    How do I get ituens to not list the same artist more than once?  I have tried editing the info, sorting different ways and sometimes it works and sometimes not...it's very frustrating to me to have the same artist listed multiple times...

    Setting a common Album Artist for each Album does most of the work. For deeper problems see Grouping tracks into albums.
    In general you need to make sure that all the values in the tags are used consistently. Same spelling, same capitalization, same accents, no leading, trailing, or multiple spaces, and each value of Artist, Album Artist or Album should only be associated with one value of Sort Artist, Sort Album Artist or Sort Album respectively.
    tt2

  • HT1657 Can I watch the rented movie more than once?

    Can I watch the rented movie more than once?

    Yes, as long as you do so within the 24/48 hour period.
    (73178)

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • I have an Ipad and about to buy a macpro. My husband has a PC with a printer attached. Can I use the same printer or do I need to buy my own?

    I have an Ipad and about to buy a Macpro.  My husband has a PC with XP operating system with a printer/scanner. Do I need to buy my own printer or can we both use the same printer?

    It depends. The Mac Pro may come with Lion, or at least 10.6.8, and some printers are no longer supported (Windows 7 either).
    Also, you have to download drivers, sometimes from vendor. Sometimes apple has some thru software update, but not always.
    without knowing printer make/model it is next to impossible to say for certain one way or another. If you do buy new printer, you can walk away with more power in injet, laser, and scanners to make it worthwhile. I had to update all of those when support was dropped. amazing how much faster and better the new models are, and for much less.
    Though I would focus on Mac Pro -
    Mac Performance Guide Reviews
    Apple Downloads
    RoaringApps Mac OS X Lion Application Compatibility
    Lion App Compatibility Table - RoaringApps

  • I'am using iPhone4 linked with iTunes on Windows7. Now my wife also gets an iPhone and will use it with iTunes on Mac. Can we use the same iTunes account? What needs to be considered (pros/cons)?

    Who can help?

    Yes, you both can use the same iTunes account, and many users do this. The SLA permits the sharing of iTunes content among up to 5 family members in the same household. Make sure you first authorize your wife's computer: Store>Authorize this Computer.
    However, your wife will need her own Apple ID(verifiable email address), for iCloud, iMessage, FaceTime, etc. You can create an Apple ID here:
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/

Maybe you are looking for