Really need help with basic static forms?!?!

I was thrown into creating forms for our Business Managers and I am not a developer in any way!  I am a Recruiter, but somewhat tech savvy (or at least I thought I was). 
I am trying to create basic static forms.  I started by using Adobe Professional and them moved to LiveCycle Designer because of what I thought were better "editable" options when creating the form.  I want to be able to send my manager's forms via e-mail (PDF), they can enter the requesting information in the fields, save a copy for themselves, print, and e-mail to me.  We are not using any of the Adobe Server things, I don't want them to submit via an e-mail button on the form.  We are a non-profit organization and my managers are using all different versions of reader. 
I am getting extremely frustrated because in testing the form everything seems to be working properly including tab order, print, save and everything I want it to do.  Then, I send them out for my managers to use, for some Manager's they work great, no problems at all!  But then, I keep getting these weird issues from different Managers with the same form.  For one of them, what they typed in the field, now looks like it's behind the text box, like when you select Highlight all, you can see what he typed, but then if you click into the text box, you can see what he typed. Another Manager said, two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it????
So after the rambling, I guess my questions are: should I be using Live Cycle to create such basic forms or should I be using Adobe?  Can anyone recommend a good "FOR DUMMIES" book that will help me figure out what I am doing wrong, and not explain in "IT" language?
This is really getting embarrassing!! Any help would be greatly appreciated!!!!

1. Make sure to set the PDF target version. Goto File -> Form Properties (see the first screenshot attached)
     Find out the minimum Reader version used in your organization and set this value accordingly. If you are not sure, select the least recent version.
2. two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it
     This may be due to the visibility settings of the fields. Just make sure that you have selected visible instead of visible (screen only)
     See the second screenshot attached
Hope this may help you.

Similar Messages

  • Really need help with an insert form

    I attempted to implement a cascading select list (via sergios blog); which was helpful. I created an office_id field as a select list with submit in order to populate another select list with the appropriate list of salespeople. But now the rest of my fields on the page are reset and I can't successfully add a record. I am wondering if I should be using a select list with submit or redirect or perhaps a computation for the page to achieve the same behavior but that doesn't submit the page until all fields are completed. Even if I fill out the office_id (the submit occurs)> I pick my salesperson then proceed to fill out the rest of the fields the row will not save when clicking the create button.

    from table(cast(V_UserInfoin as T_UserInfo));

  • Please help! I am trying to change my Apple Id that used to be my mother to Mine- Every time i have it changed and i go and try and do an update it continues to ask for her old password. I really need help with this!

    Please help! I am trying to change my Apple Id that used to be my mother to Mine- Every time i have it changed and i go and try and do an update it continues to ask for her old password. I really need help with this!

    Phil0124 wrote:
    Apps downloaded with an Apple ID are forever tied to that Apple ID and will always require it to update.
    The only way around this is to delete the apps that require the other Apple ID and download them again with yours.
    Or simply log out of iTunes & App stores then log in with updated AppleID.

  • Really need help with MSI R7970-2PMD3GD5/OC:(

    Greetings to all,
    I really need help with my brand new MSI R7970-2PMD3GD5/OC. I've purchased it two days ago and I didn't really have time to test the card until yesterday. The card is I think way to hot for my "liking". It idles at 56c-60c, at full load in Heaven benchmark 3.0 in 1920x1080, extreme tessellation and 8xAA card reaches 95c-97c. Stock cloacks are 1010Mhz/1375Mhz and stock voltage is 1,174v. Case is being cooled by two Noctua NF-P12 fans. Also I tried lowering the voltage and "underclocking" the card to a standard 925Mhz in small increments, but it doesn't help at all. Each and every time it results in BSOD and dx dll errors and complete system failures. Replacing the card wouldn't be a problem if I lived in a "normal" country that has access to a steady supply. Retailer that sold me a card told me that only 5 cards total have been imported from the launch day and told me that i bought the "last" card in my country. They could order a replacement but it would take them more then a month to do so.:( Ohhh and one more thing I don't overclock, everything in my case is at their default values.
    Recently, I read that "Amd released" a bios update for a standard reference boards that turns them into a "GHZ editions". Also lot of users report a lower voltage requirements and lower temps with that "boost bios". As I understand this card pcb is not Amd's reference board design, I could be wrong it's not that uncommon.. So I didn't want to risk warranty by flashing it to a position 1. Will MSI release the boost bios for this model of card? I am humbly asking MSI staff on how to proceed regarding this problem. I would be immensely grateful for any help you could provide.

    Quote from: Svet on 24-August-12, 18:13:26
    what PC case you use exactly?
    have you tried to open PC case side door and to retest?
    it's open case. If i close it the temps get even worse:(
    They get better for other components, but not for gpu. Two Noctua NF-P12's are cooling the case, first one is positioned above gpu, left side next to cpu. Other is right beneath the gpu, right side of case. Just under the hdd section of the case. I tested each and every component with my backup card nv 8500gt. They function within the specified parameters. I'm getting somewhat worried.
    П.С. Поздрав Свет
    да ли сте ви са наших простора да не куцам на енглеском?

  • Hi  I really need help with re-activating my little sisters iPad

    I really need help with re-activating my little sisters iPad, i already set it up a couple of months ago when i bought it,but unfortunately she disabled it by forgetting her password. i followed the necessary steps to reset it again, when the iPad came back on and we put the apple id and password it kept refusing it, i even reset the password, which sent the verification the email account,  i followed the steps to reset, But then i noticed the message at the top of the activate screen with the message “this iPad is currently linked to the following apple ID _______ with a a few hidden dashes, but at the end of the email it says, but the problem is the email ends with .com. I have no idea how this happened,  and its driving me insane and my little sister only used her iPad for a month before this happened. for some reason the the iPad email address ends in when the actual email ends with .com
    I also set up the software find my ipad
    Please help

    You will probably have to contact Apple to see if they can help.
    Contact Us

  • Need help with Adobe Interactive Form Saving

    Hi Gurus,
    I need your help with Adobe Interactive form saving.
    I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.

    see the link:
    it says:
    preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.


    HI !
    i have a blackberry curve 9300, OS5. I got it secondhand. It worked really great, but the problem started when I've done that thing within the host routing table. Though my wifi is connected, I can't use the internet. whenever I tried the BB browser and any other application (e.g. facebook, opera mini, etc.) i get a message that says 'i am not in an area that supports blah blah...' or 'unable to connect to internet please try again later'. I checked the browser under browser config and it is set to my local network provider. i changed it to hotspot browser, saved it. But whenever I go back it also goes back to my local network provider. i have tried almost EVERY troubleshooting I've read on this forums and in other forums but still no luck. The problem worsened when I did a security wipe on the emails, contacts, etc.
    -APN settings are disabled
    -default browser set to hotspot browser
    -firewall disabled
    -data services are on
    Everyone said that it has nothing to do with that activation enterprise so I did not configured it after wiping.
    I also tried doing a hard reboot (pulling the battery out and waiting for 5 minutes before turning it on) but it will only fix the problem for sometime and it will go back again.
    Calling my network provider would just suggest to get a plan when in fact, I was able to use the device's wifi well before without any plan.
    I don't want to upgrade my BB to OS6 coz it easily drains the battery of device and I cannot afford doing that because I go out a lot.
    I also tried changing my sim card and network provider but wasn't successful.
    I also tried deleting the name of my local network provider in the service book under options.
    What do you think could be the problem? Any suggestions? I really, really, REALLY, need help.

    Hi miochan984,
    Welcome to the support community!
    A supported data plan from your mobile network provider may actually be required to use the Facebook for BlackBerry smartphones application as well as the browser. I would recommend verifying with them which services they support over a Wi-Fi connection without a data plan.
    Let me know if you have any other questions.
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Need help with PHP contact form

    Hi guys,
    I've made a PHP contact form for my site and need help with a couple of things:
    The form action links an external PHP script (scripts/contact-form-script.php) but is there a way I can have it so the PHP script for the form is contained within the same PHP file as my contact form (contact.php)?
    I tried just putting the form code at the top of contact.php but the browser automatically reads the anti-spam re-direct, so maybe that needs revising too?
    The second thing is, how can I make the Name, Email and Message fields mandatory? So if a user tries to submit the form and hasn't filled in one of the required fields and clicks submit, contact.php reloads with a message at the top of the form saying something like 'Complete the required fields' and highlights the relevant field with a red border?
    Here's the code for contact.php:
    <form action="" method="post" name="contact" id="contact">
    <p><strong>Name:*</strong><br />
    <input name="name" type="text" class="ctextField" /></p>
    <p><strong>E-mail:*</strong><br />
    <input name="email" type="text" class="ctextField" /></p>
    <p><strong>Telephone:</strong><br />
    <input name="telephone" type="text" class="ctextField" /></p>
    <p><strong>Company:</strong><br />
    <input name="company" type="text" class="ctextField" /></p>
    <p><strong>Address:</strong><br />
    <input name="address1" type="text" class="ctextField" /></p>
    <p><input name="address2" type="text" class="ctextField" /></p>
    <p><strong>Town:</strong><br />
    <input name="town" type="text" class="ctextField" /></p>
    <p><strong>County:</strong><br />
    <input name="county" type="text" class="ctextField" /></p>
    p><strong>Postcode:</strong><br />
    <input name="postcode" type="text" class="ctextField" /></p>
    <p><strong>Message:*</strong><br />
    <textarea name="message" cols="55" rows="8" class="ctextField"></textarea></p>
    <p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    And this is the PHP I'm using to submit the form data for contact-form-script.php:
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $to = "[email protected]";
    $subject = "Contact from website";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
            $message= '
                <table cellspacing="0" cellpadding="8" border="0" width="500">
                    <td colspan="2"></td>
                <tr bgcolor="#eeeeee">
                  <td width="154" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Name</strong></td>
                  <td width="314" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$name.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>E-mail address:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$email.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Telephone number:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$telephone.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Company:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$company.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Address</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address1.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address2.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Town</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$town.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>County</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$county.'</td>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Postcode</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$postcode.'</td>
                <tr bgcolor="#eeeeee">
                    <td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Message</strong></td>
                <tr bgcolor="#eeeeee">
                    <td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$message.'</td>
                <tr><td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location:' );
    mail($to, $subject, $message, $headers);
    header( 'Location:' ) ;
    Any help on this would be greatly appreciated.
    Thank you and I hope to hear from you!

    Revised code with form validation for Name Email and Message:
    if (array_key_exists('submit', $_POST)) {
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
        $company = $_POST['company'];
        $address1 = $_POST['address1'];
        $address2 = $_POST['address2'];
        $town = $_POST['town'];
        $county = $_POST['county'];
        $postcode = $_POST['postcode'];
        $formMessage = $_POST['message'];
    if (empty($name)) {
                                                $warning['name'] = "Please provide your name";
    if (empty($email)) {
                                                $warning['email'] = "Please provide your email";
    if (empty($formMessage)) {
                                                $warning['message'] = "Please provide your message";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $to = "[email protected]";
    $subject = "Contact from website";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
            $message= "
    <table cellspacing='0' cellpadding='8' border='0' width='500'>
                    <td colspan='2'></td>
                <tr bgcolor='#eeeeee'>
                  <td width='154' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Name</strong></td>
                  <td width='314' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$name."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>E-mail address:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$email."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Telephone number:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$telephone."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Company:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$company."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Address</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address1."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address2."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Town</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$town."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>County</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$county."</td>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Postcode</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$postcode."</td>
                <tr bgcolor='#eeeeee'>
                    <td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Message</strong></td>
                <tr bgcolor='#eeeeee'>
                    <td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$formMessage."</td>
                <tr><td colspan='2' style='padding: 0px;'><img src='images/whitespace.gif' alt='' width='100%' height='1' /></td></tr>
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location:' );
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location:' ) ;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    p {
        margin: 0;
        padding: 10px 0 0 0;
    .warning {
    <form action="" method="post" name="contact" id="contact">
    <p><strong>Name:*</strong><br />
    <input name="name" <?php if (isset($warning['name'])) { echo "style='border: 1px solid #C00'"; } ?> type="text" class="ctextField" />
    <?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['name']."</p>"; }?>
    <p><strong>E-mail:*</strong><br />
    <input name="email" <?php if (isset($warning['email'])) { echo "style='border: 1px solid #C00'"; } ?>type="text" class="ctextField" />
    <?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['email']."</p>"; }?>
    <p><strong>Telephone:</strong><br />
    <input name="telephone" type="text" class="ctextField" /></p>
    <p><strong>Company:</strong><br />
    <input name="company" type="text" class="ctextField" /></p>
    <p><strong>Address:</strong><br />
    <input name="address1" type="text" class="ctextField" /></p>
    <p><input name="address2" type="text" class="ctextField" /></p>
    <p><strong>Town:</strong><br />
    <input name="town" type="text" class="ctextField" /></p>
    <p><strong>County:</strong><br />
    <input name="county" type="text" class="ctextField" /></p>
    <p><strong>Postcode:</strong><br />
    <input name="postcode" type="text" class="ctextField" /></p>
    <p><strong>Message:*</strong><br />
    <?php if (isset($warning['message'])) { echo "<p class='warning'>".$warning['message']."</p>"; }?>
    <textarea name="message" <?php if (isset($warning['message'])) { echo "style='border: 1px solid #C00'"; } ?> cols="55" rows="8" class="ctextField"></textarea></p>
    <p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>

  • Please I really need help with this video problem.

    Please I need help with this app I am trying to make for an Android cellphone and I've been struggling with this for a couple of months.
    I have a main flash file (video player.fla) that will load external swf files. This is the main screen.When I click the Sets Anteriores button I want to open another swf file called sets.swf.The app is freezing when I click Sets Anteriores button
    Here is the code for this fla file.
    preloaderBar.visible = false;
    var loader:Loader = new Loader();
    btHome.enabled = false;
    var filme : String = "";
    function carregaFilme(filme : String ) :void
      var reqMovie:URLRequest = new URLRequest(filme);
    function comeco(event:Event):void
              preloaderBar.visible = true;
              preloaderBar.barra.scaleX = 0;
    function progresso(e:ProgressEvent):void
              var perc:Number = e.bytesLoaded / e.bytesTotal;
              preloaderBar.percent.text = Math.ceil(perc*100).toString();
              preloaderBar.barra.scaleX =  perc;
    function completo(e:Event):void
              preloaderBar.percent.text = '';
              preloaderBar.visible = false;
    function onSetsClick(Event : MouseEvent) : void
              if (filme != "sets.swf")
                          filme = "sets.swf";
    function onHomeClick(Event : MouseEvent) : void
              if (filme != "home.swf")
                          filme = "home.swf";
    function onHomeDown(Event : MouseEvent) : void
              btHome.y += 1;
    function onHomeUp(Event : MouseEvent) : void
              btHome.y -= 1;
    function onSetsDown(Event : MouseEvent) : void
              btSets.y += 1;
    function onSetsUp(Event : MouseEvent) : void
              btSets.y -= 1;
    function onVivoDown(Event : MouseEvent) : void
              btVivo.y += 1;
    function onVivoUp(Event : MouseEvent) : void
              btVivo.y -= 1;
    Now this is the sets.fla file:
    Here is the code for sets.fla
    import flash.utils.Timer;
    var video:Video;
    var nc:NetConnection;
    var ns:NetStream;
    var t : Timer = new Timer(1000,0);
    var meta:Object = new Object();
    function init(e:Event):void{
    video= new Video(320, 240);
    video.x = 80;
    video.y = 100;
    nc= new NetConnection();
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS, onStatusEvent);
    ns.bufferTime = 1;
    ns.client = meta;
    function onStatusEvent(stat:Object):void
    meta.onMetaData = function(meta:Object)
    function timeHandler(event : TimerEvent) : void
      if (ns.bytesLoaded>0&&ns.bytesLoaded == ns.bytesTotal )
    The problem is when I test it on my computer it works but when I upload it to my phone it freezes when I click Sets Anteriores button.
    Please help me with this problem I dont know what else to do.
    thank you

    My first guess is you're simply generating an error. You'll always want to load this on your device in quick debugging over USB so you can see any errors you're generating.
    Outside that, if you plan on accessing anything inside the SWF you should be loading the SWF into the correct context. Relevant sample code:
    var context:LoaderContext = new LoaderContext();
    context.securityDomain = SecurityDomain.currentDomain;
    context.applicationDomain = ApplicationDomain.currentDomain;
    var urlReq:URLRequest = new URLRequest("http://www.[your_domain_here].com/library.swf");
    var ldr:Loader = new Loader();
    ldr.load(urlReq, context);
    More information: b90204-7de0.html
    If you're doing this on iOS you'll need to stripped SWFs if you plan on using any coding (ABC) inside the files. You mentioned iOS so I won't get into that here, but just incase, here's info on stripping external SWFs: apps-on-ios/

  • Really need help with this!

    I have a form to upload pictures, create a thumbnail, and put
    them in folders. I really need to know how to put the links in a
    database with php so I can display them on a page with the other
    fields! PLEASE HELP!!

    stone_cutter wrote:
    ok, if i was the computer, i would first, find the first occurence of the letter "V" in the word,Okay, good. How would you do that? You did look at the docs others pointed you to, right?
    and then include all the subsequent characters.Okay, good. How would you do that? You did look at the docs others pointed you to, right?
    I know what to do, i just don't know the codes for them.The idea is that you figure out "the codes." This generally means taking a guess at an approach that you think will work for one of the steps, writing some code, testing it, seeing if it produces the output you expect, figuring out why it didn't, changing it, repeating until you get it right, moving on to the same process with the next very small piece, and so on, until each piece works by itself, then putting the pieces together, and testing and tweaking until it works.
    I know the code is gonna start with m = p.substring Why?
    Why substring?
    Why immediately m = ?
    You don't think there will be any intermediate steps?
    What you're doing here, rather than following the process I describe above, is grabbing a handful of buzzwords that you think apply, slapping them together, then throwing your hands in the air and crying, "I don't get it."
    Where are the String API's? Can someone give me the link to them?I think they already did, more than once.

  • Need help with basic Java programming

    I'm having a little bit of trouble with my code. For the sake of argument, I've removed the code I'm having trouble with, because I know it was inaccurate. I'm trying to create a loop so that this program will keep going through and through until the user enters an invalid variable. I thought the default after the case statements was supposed to make the system exit and output my message. Those two problems, the loop and the default, are what I'm really having problems with. My code is posted below.
    import javax.swing.JOptionPane;
    import java.util.Locale;
    import java.text.NumberFormat;
    public class Retail
    public static void main(String args[])
    String firstNum;
    String secondNum;
    String result;
    int prodNum;      //first number to input
    double quantity; //second number to input
    double total = 0.0;     //total of Prod * Quantity Sold for all items
    // To use American Dollar
    NumberFormat moneyFormat = NumberFormat.getCurrencyInstance( Locale.US );
    // first number entered as string
    firstNum = JOptionPane.showInputDialog( "Enter product number 1-5" );
    // second number entered as string
    secondNum = JOptionPane.showInputDialog( " Enter quantity of items sold" );
    // convert values to type double or int from type string
    prodNum = Integer.parseInt( firstNum );
    quantity = Double.parseDouble( secondNum);
    if ( prodNum >=1 && prodNum <=5 ) {
    switch (prodNum)
    case 1: // 1st product
    total = 2.98 * quantity;
    case 2: // 2nd product
    total = 4.50 * quantity;
    case 3: // 3rd product
    total = 9.98 * quantity;
    case 4: //4th product
    total = 4.49 * quantity;
    case 5:
    total = 6.87 * quantity;
    default: JOptionPane.showMessageDialog( null, "Wrong product number entered" );
    JOptionPane.showMessageDialog( null, moneyFormat.format(total), "Total Price of Items Purchased", JOptionPane.INFORMATION_MESSAGE );
    ***I know I need to put something in the user input message to state that any value other than 1-5 entered will cause the program to skip to the output, I'll put that in later.***

    When you post code, please use [code] and [/code] tags as described in Formatting Help on the message entry page. It makes it much easier to read and prevents accidental markup from array indices like [i].

  • Really need help with this, can't use safari on my ipod

    I clicked on a link on a website for my school, and then it opened in another page. idk if i clicked something or this happened on its own, but then a video tried to open from the image. I've messed around with my settings, and i can't seem to be able to get a youtube video to open on my ipod if it's from a website, i always have to go directly from youtube to find anything. So it says "could not load video", the only option is to click okay, so I do, and then it gives me the main ipod youtube page, with history and search and all that stuff. I give up and decide to just look at something else, and click safari, except it goes straight to the image, which goes straight to the unloadable video on another program, and then i have to close the page. It goes in circles, but it means that safari is unusable, and my computer is broken, so i really need it for internet.
    Also, is there a way to make youtube videos viewable from a website link?
    And why, when I search up a popular song on youtube on my ipod, and type in that i want the lyric video, i only get live versions, and there is never any lyric videos, and i usually detest live versions of songs?? and then when i search the same thing on someone's computer, i get my lovely lyric videos? Is Youtube angry at Apple or something?
    aand why were the older ipods less crash-prone?
    answers are very helpful, especially for the first question, because i am clueless about technoloy. Honestly, it took me a year to learn how to turn on my computer....

    A lote of sitesuse the Flash version of YourTube. no iOS devices support flash. The you have to either use the YourTube app or Safari to go to YouTube since Safari tells the YouTube site to use HTML5.
    For other problems withwith Safari try going to Settins>Safari and clear Histor, Cookies and Data.
    Also reset the iPod. Nothing is lost.
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • Need help with Automatic Generating Form Numbers

    I am new to all this and have found myself stuck trying to figure out how to have my forms automatiacally generate a new number each time it is used. I tried looking through similar posts but do not understand the directions given there. If someone could help me figure this out I would really appreciate it. Thank you.

    Before opening my forms for responses I am creating a column with my starting form number - 1.  in the cell above(first response) I am setting an equation =B2 +1.  All incoming responses automatically generate an ID number within my responses table.  The form itself will not present the number, but if you were looking for an easy way to track responses w/ an ID it has worked well for me so far.

  • I really need help with my decision in purchasing an iPhone 4! =(

    I will just go to my main concern.
    I lost the phone of my aunt which is an iPhone 4. It was stolen from my bag. Out of common sense, I have to find a replacement because I know the my aunt invested money on it. However, brand new iPhone 4 here on our country are still pretty expensive for my budget. It is also hard to find becuase mostly stores no longer carry it becuase there is now iPhone 5. So, i have no choice, but to purchase a second-hand iPhone 4. So far, the second-hand iPhone 4 that I saw are from Singapore and Japan.
    Now, my question. How can I be sure that the iPhone 4 that I purchase will work in the United States when my aunt will go back to the US. She works and live in the United States. I want to make sure that she can use the phone when she goes back to the United States.
    Please please please I need help.
    I am already stressed finding money to buy a replacement. 

    Verizon's offers full theft and loss protection. I am an attorney and tend to read fine print :)
    The $8 a month is nominal compared to the benefit and peace of mind. I have had it on all my phones and typically you have to ask for it.
    Over the past two years I have used it twice. My phone at the time was an HTC Evo, about a $500 phone. To replace outside the 2yr contact you must pay full price. That is $1000 for 2 phones.
    The insurance cost me a couple hundred plus the deductibles. That's under $500 to replace two phones, or a savings of about $500 or 50%.
    Even if you replace 1 phone in two years, your saving a few hundred- more if its an iPhone which retails starting at $700.
    It all depends on where and how you use your device. If you never replaced one before the you may be better off without. I also don't put cases or screen protectors on my phones. I wouldn't dare put one on my beautiful iPhone 5.
    Just a thought, if you don't have insurance, you should be ready to drop $750 at any given time for a new iPhone. Otherwise you end up with a temporary flip.

  • Need help with basic program.....!

    I've to write a program that generates a random number, which the user has to try and guess, after each guess they're told whether it's too high or too low etc., I've gotten this far, however, the user has only 10 guesses.... In my program I've used a while loop and the user gets an infinite number of guesses, I know I'm supposed to use a for loop, but can't seem to get it to work properly. Also, when the user guesses the number, the program then has to print out how many guesses it took, and I have no idea how to get it to do this AT ALL!!! I'd really appreciate some help with this, thanks v. much!!!!

    I've to write a program that generates a random
    number, which the user has to try and guess, after
    each guess they're told whether it's too high or too
    low etc., I've gotten this far, however, the user has
    only 10 guesses.... In my program I've used a while
    loop and the user gets an infinite number of guesses,
    I know I'm supposed to use a for loop, but can't seem
    to get it to work properly. Also, when the user
    guesses the number, the program then has to print out
    how many guesses it took, and I have no idea how to
    get it to do this AT ALL!!! I'd really appreciate some
    help with this, thanks v. much!!!!Hey not every book covers every aspect of Java (if you haven't got a book and don't want to buy 1 i recommend an online tutorial) If u want the user to have an infinate number of guesses, use an infinate while loop. Put this in a file called
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class app extends Applet implements ActionListener
         JLabel lbl=new JLabel("Guess a number between 0 and 10:");
         JTextField txtfield=new JTextField(20);
         JButton button=new JButton("Guess...");
         JLabel lbl2=new JLabel();
         int randomnumber=Math.round((float)Math.random()*10);
         public void init()
         public void actionPerformed (ActionEvent e)
              String s=new String("");
              if (e.getSource().equals(button) && txtfield.getText().equals(s))
                   lbl2.setText("Got it!");
                   if (Integer.parseInt(txtfield.getText())>randomnumber)
                   lbl2.setText("Too High!");
                   lbl2.setText("Too Low!");
    Then create a HTML document in the classes folder:
         HEIGHT=200 >
    It will do what you wish. If you want to have more then 10 numbers to guess, for example 100, do this:
    int randomnumber=Math.round((float)Math.random()*100);
    Does that answer your question?

Maybe you are looking for