How do you get  the count of number of  checkbox selected?

hi,
plz tell me how do you get the count of number of checkbox selected?

Not sure what you are doing so I will attempt to answer your question. If have one question which can have multiple answers you have will recieve an array so you have to do getParameterValues("name") and move it into an array.
If you have multiple questions and only value will be selected do a getParameter("name") on each form element.
HTH, if not provide more detail.
J.Clancey

Similar Messages

  • How do you get word count to print at the end of a document in Pages?

    How do you get word count to print at the end of a document in Pages?

    Pages v5 does not provide a user assignable word count variable. With some AppleScript, and a paste operation from the clipboard, you can have locale punctuated word count in this format: 7,803 — anywhere in your document. The following AppleScript works with Pages '09 v4.3 through Pages v5.5.2 on Yosemite.
    I would suggest that you copy paste the following AppleScript into your [Apple] Script Editor and save it (suggestion) wordcnt.applescript. Then, follow this with an option+Save As… and this time set the File format to Script Bundle, or Application with hidden extension — saved to your Desktop. Provided you have a Pages document open, you are then a double-click from the ability to paste your current word count into Pages.
    Note: If you have Pages word count display enabled, it will automatically count your pasted value as another word which initially may deceive on true word count at the time the script was run.
    AppleScript
    --- copy below this line ---
    property locale : "en_US.UTF-8" -- In Terminal, use the locale command to see yours
    if not ApplicationIsRunning("Pages") then
         display dialog "Pages must be running to use this utility."
         return quit
    end if
    tell application "Pages"
        tell body text of front document
            set wordCnt to count words
            -- Don't want punctuated numbers? Remove the single quote from printf format
            set the clipboard to (do shell script "export LC_ALL=" & locale & "; printf \"%'d\" " & wordCnt)
        end tell
    end tell
    on ApplicationIsRunning(appName)
         tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
         return appNameIsRunning
    end ApplicationIsRunning

  • How to you get the percentage of a number in an array in ipad numbers

    How to you get the percentage of a number in an array in ipad numbers?

    Try asking here
    https://discussions.apple.com/community/iwork/numbers
    it's a part of the forum dedicated to numbers.

  • How do you get the page count on an old hp 1012 laserjet printer?

    How do you get the page count on an old hp 1012 laserjet printer?

    You should find this information on the configuration page. To print a configuration page, press and hold the green GO button until all of the lights cycle, approximately five seconds, then release the button. The Configuration Page will print.
    You can find more information in this document: Identifying Page Count.
    I am an employee of Hewlett Packard.
    - - Please mark Accept As Solution if it solves your problem so others can more easily find the answer - -
    - - Please click the Kudos star if you would like to say thanks - -

  • How do you get the percentage of one number compared to the sum of the total in an array in ipad numbers

    How do you get the percentage of one number compared to the sum of the total in an array in ipad numbers

    On the iPad my example looks like this:
    To fill the formula down you tap cell and then Fill:
    And drag the bottom part of the yellow rectangle down:
    Wayne's example would look similar.
    SG

  • HT200276 HOW WILL I GET THE LOST SERIAL NUMBER OF FINAL CUT STUDIO

    HOW WILL I GET THE LOST SERIAL NUMBER OF FINAL CUT STUDIO ???

    It's on the back of the installation booklet. If you've lost that, and have some proof of purchase, it can probably be sorted out by contacting Apple.
    Russ

  • Just got a new Macbook Pro with Maverick. In Mail, how do you get the format bar to show?

    Just got a new Macbook Pro with Maverick. In Mail, how do you get the format bar to show?

    You are still under warranty.  Call Apple Care. Make sure you get a case number as all repairs have an additional 90 days of warranty. 
    #1 - You have 14 days from the date of purchase to return your computer with no questions asked.
    #2 - You have 90 days of FREE phone tech support.
    #3 - You have the standard one year Apple warranty.
    #4 - If you've purchased an AppleCare Protection Plan, your warranty last for 3 years.   You can obtain AppleCare anytime up to the first year of the purchase of your computer.
    Take FULL advantage of your warranty.  Posting on a message board should be done as a last resort and if you are out of warranty or Apple Care has expired.

  • How do you get the best Range?

    How do you get the best range on the Extreme? I am very unfamiliar with the settings and what they mean.

    The default settings on the AirPort Extreme are set for maximum radio power so it will produce the best range without further adjustments.
    The actual range of the device will depend on the number of obstructions in the signal path between the AirPort Extreme and the other device that is connecting to it.

  • How do you get the web application path from the servlet?

    I have created a web application which is installed in
    /webapps/myApplication
    /webapps/myApplication/data/users.xml
    /webapps/myApplication/WEB-INF/classes/myServlet
    How can you get the path to the "users.xml" file from the "myServlet" file?
    The code below doen's seem to return the xml file. anybody knows why?
    public class myServlet extends HttpServlet {
    public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException
    File myXmlFile = new File("/data/users.xml");

    Try this..
    String FileName = getServletContext().getRealPath("\\data\\users.xml");
    File myXmlFile = new File(FileName);
    hope this helps..

  • HT4101 Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud.

    Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud. I am able to see any photo I took on the iPad using the iPad camera (in iTunes, photo stream, or when I open windows explorer and browse the iPad director), however I cannot see any photos transfered from my camera to the iPad. The camera connection kit must have put my photos in a directory I cannot get to and cannot sync.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    Hello Fran,
    You can wrap the job chain in a master job chain in the first step and set the final status handler there.
    You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.
    Regards Gerben

  • If your phone is broken how do you get the apple id off that phone?

    if your iphone is broken how do you get the apple id off of it?

    You can either,
    A: Go to iForgot.apple.com and reset the passcode using the password system there, or by going to appleid.apple.com
    or 
    B: IF possible restore the device to factory settings via iTunes.
    What's the xtent of the damage and the reason you need to do it?
    IF it's for iMessage as "Chief501" you will have to go with Option A or just wait till it falls off itself.

  • How do you get the answers to your security questions in order to buy an app on iphone?

    How do you get the answers to your security questions in order to purchase an app on iphone?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99852)

  • If you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone?

    if you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone? becuase i have delted my dads iphone acedentily of find my iphone and it is nownot working. his phone is just staying at a black screen with a loading circle on it. i need to know how to fix this..like do i go the to apple store or the carrier store or can i fix it at home?

    Try these two ways to fix the iPhone (in order).  If neither works, you would have to take it to the store.
    1.  Reset the iPhone.  Hold the on/off and home buttons togehter for about 10 seconds.  If it works, you'll get the Apple logo and then something good should happen.
    2.  Try recovery mode as described here:
    http://support.apple.com/kb/HT1808
    If one of these work, you can then re-introduce the iPhone to Find My iPhone by doing Settings > iCloud > Find My iPhone = "On" on the device.

  • How do you get the sound to play on the tv from your macbook

    I connected my macbook to my tv using a HDMI cord. I'm trying to watch netflix but the sound plays from my macbook. How do you get the music to play from the tv instead.

    The adapter to HDMI doesn't carry sound from a MacBook earlier than the Mid 2010 models and most TVs don't have separate RCA input plugs for audio with the HDMI inputs since they expect the sound to be carried by the HDMI plug. With HDMI you'll need to use external speakers or headphone jack to RCA sound plugs connected to a stereo sound system if your TV doesn't have separate RCA input plugs for audio with the HDMI plug.

Maybe you are looking for

  • I cannot open my project.

    I cannot open my project. The dialogue box tells me that my G Drive (External) is missing, yet I can see its icon on my desktop.  Nothing in the G Drive will open.  It was fine when I was last editing this project.

  • What is meant by an Activity in Business One

    Hi All,       What is meant by an Activity in Business One.I studied it in Business One Help,but it is not much helpful.I want a brief description regarding Activities(help me by taking an example).Where this activity used(only in Sales Opportunities

  • Create Thumbnail Image in JSP

    I have JSP a page, were I want to show Thumbnail Image from specified path. The specified path contain one or more file. If anybody have the code or reference for doing this please replay. (For one image will also the helpfule for me) Thank You

  • Error 3194 when trying to restore ipod touch...my daughter forgot the password and logged in too many times...now its disabled:(

    Hi My daughter forgot her password after mispla cing her ipod for 3 weeks.  I tried to restore after it went into disabled mode.  I get an error 3194. Some help would be appreciated.

  • Mavericks won't connect to Snow Leopard server share points

    I have 3 imacs, running mavericks which won't successfully log onto Snow Leopard server share points. The server appears on the list on the left and i get to a login screen when i select the server. I enter the username and password and the box just