I hate the checkboxes. Need simple help

Hi all

I am trying to use checkboxes to add a value (a bit like a shopping cart). Where the user would pay if they check the different boxes. I want it where if they select in box 1 and 2 (named paymenttype and paymenttype2) that will change the value of the checkbox. How can I have the check boxes work? I tried to use "AND" to tell "If zone 1 and zone 2 are checked set the value of a $150"but it does not work. " Any help is very appreciated.

This is the code on my functional (treatment page)

< cfif IsDefined ("form.paymenttype") is true >
< cfset paymentamount = "100" >
< cfelseif IsDefined ("form.paymenttype") is set to TRUE AND IsDefined("form.paymenttype2") is set to TRUE >
< cfset paymentamount = "150" >
< / cfif >

What you have seems ok, but is incomplete. You need to do to
1 box not checked and box 2 checkedd
No box ticked.

What happens when you run your code?

Tags: ColdFusion

Similar Questions

  • Picture is not in the browser - need urgent help

    Hi, I'm new to Javafx I am creating an image to display in a web browser, not complex thing, this is my code:

    package javafxapplication1;

    Import javafx.stage.Stage;
    Import javafx.scene.Scene;
    Import javafx.scene.image.ImageView;
    Import javafx.scene.image.Image;


    Stage {}
    Title: "title of the Application.
    scene: scene {}
    Width: 800
    height: 800
    content: [ImageView {fitHeight:100, fitWidth:100 image: Image {url: "http://braddominy.com/media/images/applescript_dragdrop_icon.png", preserveRatio:false, backgroundLoading:true}, x: 100, y: 100}]
    }

    }

    When I run this example in standard Mode, it works fine and the image appears, but when I run the example in a browser I get a blank page with a header "JavaFXApplication1".

    I tried to google the problem, but came out with no result

    need help, thanks in advance.

    Published by: user9377818 on November 30, 2010 03:59

    Is the image URL pointing to the same domain as the applet is downloaded from? If this isn't the case, you will have to sign. There is a security feature that prevents the download of material from Web sites other than the one that it is downloaded from to prevent Trojan applet to use your computer to launch a denial of service attack while you run unsigned applets.

  • Newbie needs simple help on triggers

    Hello. I need to create a trigger and am very new to this language and would be delighted to help.

    I have STUDENTS, BOOKS, LOAN tables.

    When a student borrows a book, a composite entry is created in the table of the LOAN. In the table of books, there is an attribute 'Borrowed' by a Y or N.

    When a new record with the same title as a book is created in the loan, the value of 'borrowed' must be set to Y. So far, I have the following, but I forgot that I need to insert a WHERE clause so that it is not up-to-date books, but only the book that activates the trigger.
    I have a problem with it-how could I go to do this? Any help appreacited.

    CREATE OR REPLACE TRIGGER book_returned_trigger
    AFTER borrowing ON DELETE
    FOR EACH LINE
    BEGIN
    UPDATE books
    SET
    borrowed = 'n';
    END;

    Hello

    When you INSERT, all the: OLD columns have a NULL value (they weren't there before the operation).
    Change the trigger AFTER INSERT to use: NEW instead of: OLD.

    It is the reflection of a DELETION, where all the: NEW columns are set to NULL.

  • Black screen, message - no hard disk found, hum. Can't seem to open the page, need to help trip.

    Laptop has a black screen. Power outtage yesterday while off. Message arrives hard drive not found. Sounds like the hamster on a wheel. Need recovery of info and override info.

    Hello

    Looks like you need support as there must be some serious problems. Check in the settings (BIOS/CMOS)
    as you start - usually F2 - to see if the disc is recognized and is 1st in the boot order.

    Not good news, I'm afraid,

    Good luck.

    Rob - bicycle - Mark Twain said it is good.

  • Windows 7, the printer Dell Photo All - in - one 922; Win7 says it has the most recent drivers, can see the printer, but tells me that the printer needs to "help out." interfacera not; updated drivers downloaded from Dell, but Win7 will not identify them.

    Well, it's a long story, but EDH to; I had problems with my printer works with Win XP. The same problem as now with Win 7.  I have e last driver of Dell, but Win7 says that drivers are up-to-date.  The printer appears in the Device Manager, but has the yellow triangle with (!) to score on this subject.  When I go to troubleshoot, it says it can't find the updated driver on the internet or the CPU.  Win7 says that the printer says that's not covering, check USB port, etc... I uninstalled the driver, let W7 update, and the printer still does not work.  What is the reference for this? Thank you... Corn

    http://support.Dell.com/support/downloads/index.aspx

    You get your Dell printer drivers; NOT through Windows Update.

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • (Help) I need simple code for Bluetooth connection in the Eclipse IDE

    I need simple code for Bluetooth in the Eclipse IDE connection because I do not know tutorial http://docs.blackberry.com/en/developers/deliverables/11938/Use_a_Bluetooth_serial_port_connection_5...

    Please help me, thanks for all

    Use the tutorial for 5 SDK (or lower), each SDK has its own set of samples.

  • well... try #3... I spend 80% of my life offline... off the grid, as I live in a remote area, the power produced by wind and water. CS5 or 6 is still available? I also hate the Basic applications to... any help here?

    well... try #3... I spend 80% of my life offline... off the grid, as I live in a remote area, the power produced by wind and water. CS5 or 6 is still available? I also hate the Basic applications to... any help here?

    We're just facing some misinformation: creative cloud, CC of Photoshop, Photoshop CC2014 are NO CLOUD. Yes, it is a name quite stupid, because.

    They install and run locally exactly like previous versions. They are different in three ways:

    1. simple integration of cloud services from Adobe to keep the files, which you can ignore.

    2 subscription only.

    3. you will need to regularly connect to the internet to verify your subscription status. Not sure it can be monthly. This could still be unsuitable for you of course.

  • Need a help. Please, I beg you. the project long render times.

    Hi there everyone!

    If im new in the world of Adobe AE. I need help. Watched a 100 videos and searched, but... I did an audio visualization for my youtube channel and want to restore the mix of 50 min. My PC config is 8 GB ddr4, skylake quad intel. GTX 960 m. Then, when I try to make it take so long! 24 seconds to display a preview is about 5-7 min. and for 50 minutes, it would be around 7hours! my laptop from heating even after 7 min of render. How can I speed up the rendering, and I have to do with the size of the video? I made in adobe encode. h.264 - 8 mb full HD - advice read on youtube too for the best settings. People please help

    Have a great day and tons of positive emotions!

    Unless your 50-minute video is one-shot with effects applied to the same shooting and there is no cuts nuts is to try to do this in a single computer in AE. According to effects applied to only one made of several minutes, that a framework can be normal and expected. The usual workflow for a project of 50 minutes would be to break into small pieces, if the effects on each segment are complex or very slow return, then you make each room when this is done. If the effects are simple and fast make you can consider using Dynamic Link to each piece in Premiere Pro for final assembly. More than 90% of my comps AE are less than 10 seconds, because most of the shots in the films that I produce are less than 10 seconds. Several times my compositions contain dozens of layers and can take up to four or five minutes a frame to render. Most comps are effectively created composite or motion graphics restitueront at the rate of 3 or 4 frames per second. Nowadays about half of my work is 4K, and I produce masters 4 K that are made to the HD for final delivery using Adobe Media Encoder to create an h.264 MP4.

    I'm just guessing that you have very long shots in your comp with a sort of music visualizations. If this is the case, every time that the music changes or there is a break, you break the project down into a separate model and then make this model in a lossless format visually. Because your system is currently taxed I would use the Cue Render to render these masters of the production. When you have all the parts made I would bring them together in the final project in Premiere Pro, which is the only way you'll be able to get an overview of real-time editing. Then use Premiere Pro to make the file available. This will save you time in the long run because rendering Cue and the output module will make faster than Adobe Media Encoder because TEA running AE in the background to do the rendering, it is less effective. The probability that a rendering of 50 minutes will fail repeatedly during rendering is very high, if all this makes your system resources. This will also give you time to check each section to see if you like it before moving on to the next section.

    I hope this helps. I would never and have never tried to edit one to animate a sequence in AE who was only a few minutes longer because it is simply too inefficient. I put a whole feature in AE to make color correction, but he is already gone and it is a layer that already went to a master of production. Therefore, unless all your effects are applied to a single video track for 50 minutes together, break the project and make it into pieces.

  • Help!  I hate the new update.  I love type horizontally when replying to text messages, and now I can't!

    I hate the new updates!  I love type horizontally when I text and now I cannot since this morning when I did the update.  When I turn the screen all these pre's words come as 'Hello' help!  I want to go back before update!

    srvhtv wrote:

    I hate the new updates!  I love type horizontally when I text and now I cannot since this morning when I did the update.  When I turn the screen all these pre's words come as 'Hello' help!  I want to go back before update!

    Sorry, downgrade ios only is not supported by Apple.

    You can leave feedback here http://www.apple.com/feedback/

  • Yahoo mail compose page announced the Indian Railways. Same is the case with some Gmail site. For this reason, it is difficult to compose mail. I need your help to clear advertising so that I can compose mail on the blank page, cordially. Maes

    Yahoo mail is normally empty. One can type mail in the blank part of . In my case the Compose page has rail logo. because I can't type my mail. Even if there is no problem in gmail-INBO isn't the case with Gmail site "A Google approach to email" or make up may site.
    For this reason, it is difficult to compose mail on yahoo mail. I need your help to clear advertising logo so that I can compose mail on a white page, cordially. eldiablo kumar

    You can also try to install Adblock Plus with Easylist subscription and check

  • I offered him my iPad to my father, and it was forgotten not only apple ID, but also by e-mail. the ipad needed to activate the icloud since its ios 9.3 update. You can help me to unlock the ipad without the iCloud. I have evidence to prove that it's mine

    I offered him my iPad to my father, and it was forgotten not only apple ID, but also by e-mail. the ipad needed to activate the icloud since its ios 9.3 update. You can help me to unlock the ipad without the iCloud. I have evidence to prove that it's mine

    You need to take it to an Apple Store with a dated receipt to prove that you are the original owner/purchaser. It's possible Apple may be able to release the lock. We can not help you with it.

  • yesternight I tried to improve my S5 iphone for a new virsion so at the end he asked me my icloud and the password I remember my password but not my icloud so I need your help please

    Yester night I tried to improve my S5 iphone for a new virsion so at the end he asked me my icloud and the password I remember my password but not my icloud so I need your help please.

    Seems that Apple has temporary problems with their activation servers. Many users report similar problem on older devices.

    Latest news: If you can not activate your iPhone, iPad, or iPod touch after installing iOS 9.3 - Apple Support

    r http://www.IMore.com/Apple-Working-iOS-93-Fix-Older-iPhone-iPad?utm_medium=Slide & utm_campaign = navigation & utm_source = im

    lder-IOS-devices-affected-by-bricking-bug/ http://9to5mac.com/2016/03/24/Apple-releases-New-Build-of-iOS-9-3-for-Users-of-o

    Hoppefully Apple will highlight the top soon.

  • buy an iphone 5s by amazon and I came with iCloud blocked an account... {I called the seller and does not that I do that I'm from Venezuela please need your help}

    buy an iphone 5s by amazon and I came with iCloud blocked an account... I called the seller and does not that I do that I'm from Venezuela please need your help

    No one here can help you. The device is locked activation. Since you have made the purchase by Amazon, you can check with them to see if they will stand behind it. No one on the forum, or Apple can help you remove the lock. Only the previous owner can do this. I suggest that you demand a refund, so let's start a claim with Amazon about this dealer.

  • Please I need your help in the next issue.

    Please I need your help in the next issue.

    I'm trying to change a driver of function generator to perform the following operations:

    starting with the initial value (for example 1 MHz) for some time (for example 10 sec.) and turn off the output for another time (e.g. 20 seconds) and then start again but this time with the frequency increment value (for example 1 MHz + 0.1 x n MHz = 1.1 MHz for n = 1, 2, 3,... n).

    The function generator model is ag33xxxGPIB and the link of the driver is http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E748...

    There is no modifications are required for the driver, although there might be an example that you can edit. You use the function of the frequency set in a loop with a shift register. Initialize the registry to offset with the frequency of your departure and each iteration of the loop, add the value of the step. Exit the loop when the stop frequency is reached. Try to write something and after back if you have any problems. Fix what you wrote.

    It's pretty basic LabVIEW code. Did you do the online tutorials?

  • Help me design the thing needed...

    Hello

    Please, someone give me idea to do the surgery. The VI attached shows the (regulated) control box on the front with some text boxes below. So, now I want to do when the user clicks on the checkbox (or regulated) I want to display two last text boxes with labels before and when it is off (off or unregulated) I want to display the first six areas of text with tags front. So, when the user attempts to enter the alphabets in the textboxes, it shouldn't take these and give the error message as only numbers are allowed. Attachment is here and please someone who can do it for me. I'm really new these view of laboratory and research of big help. (As to burst---> current limit)

    Please help me.
    Please help me that I would not lose 3 days for this and I found nothing. Looking for a great help.


Maybe you are looking for

  • Recommendations/tips for a beginner contributor?

    Hey all! I started to contribute to communities of support today, but the interface may seem a little tricky to work with sometimes. I was hoping that some useful people would be willing to share tips/advice for someone new in the region! Currently,

  • sync iPhone with iTunes issue

    I try to sync to my iPhone, but get the error message that it "cannot be synced because there is not enough free space to hold all of the selected items (262,1 required Mo, 489,3 Mo available)" is meaningless.  I tried to restart the phone, but that

  • Quality of the refurb?

    I am looking to buy a 13 of Yoga. I'd be fine with the model 59359567 (i5, 4 GB RAM, 128SDD), but I just found a refurb on the site of oulet with an i7 and 8 GB of RAM 128SDD about the same price. My question is, have you purchased a Lenovo refurbish

  • I want to stop all the interactiom with gaming sites how can I

    How can I do this

  • Can not access internet via wireless HTTP 404

    I plugged a wireless (NetGear) adapter to my PC to be able to access the internet via the card my husband Verizon Wireless.  He says that I'm connected to the internet, but the only thing I get when I try to connect to any site is error 404 web page