Table and the loop problems (please help)

Im making a site for a project where I have to include a table and a loop.

For this section, I put in a "contact us / Q and A" page where the user can enter a name, email, and question.
This information is sent to a table and then following image shows the form of the table information in the dynamic text boxes.

I've included a loop to check that each part of the table contains data (name, email and the issue).
Then I have an If Else, which clears the form either if a section has been missed, OR if the form was completely correctly it directs the user to the frame following where as I said above the details appear in dynamic text boxes.

The problem im having is the loop to check For the table that's a waste. Someone can please help me out here and get the loop to verify that all fields have been filled.

Here is my code for the initial frame

You must update the values in your table at the time you press the submit button. Code follows

There is a second example to check the strings (it's a little complicated, but it's a useful trick if you can understand). This does not leave the Send button work unless all fields have something in them

Tags: Adobe Animate

Similar Questions

  • Loop problem - please help :-)

    Hi I'm relatively new to PLSQL and I'm having a problem with a loop does not execute properly. I'll show you the code below (it's a bit long sorry) and then I'll explain it in detail, and then explain the problem.




    I'm looping 1.student_count



    /*

    HTP.print (' student # ');
    HTP.print (i);
    HTP.print (')
    ');
    HTP.print ('PIDM: ');
    HTP.print (pidm_store (i));
    HTP.print (')
    ');
    HTP.print (' participated in the answer: "");
    HTP.print (atten_store (i));
    HTP.print (')
    ');
    HTP.print ('CRN #: ');
    HTP.print (crn_store (i));
    HTP.print (')
    ');
    HTP.print ('~ ~ ~');
    HTP.print (')
    ');
    HTP.print (')
    ');

    JK * /.



    OPEN AttenCheck (pidm_store (i), crn_store (i));
    Look FOR AttenCheck IN temp_atten;



    IF temp_atten IS NOT NULL THEN

    HTP. Print ('test');


    ON THE OTHER

    IF i < = 9 THEN

    j in 1.100
    loop
    If atten_store.exists (j) then


    IF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "a".
    THEN


    temp_codes: = 'a ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;



    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "b".
    THEN


    temp_codes: = 'b ';.
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "c".
    THEN


    temp_codes: = 'c ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = has '
    THEN


    temp_codes: = ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store, (j), 2, 1) = 'e '.
    THEN


    temp_codes: = 'e ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "f".
    THEN


    temp_codes: = 'f';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "g".
    THEN


    temp_codes: = "g";
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "h".
    THEN


    temp_codes: = 'h ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = "i".
    THEN


    temp_codes: = 'i ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 1) = i AND substr (atten_store (j), 2, 1) = 'j '.
    THEN


    temp_codes: = 'j '.
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;
    END If;

    END IF;

    end loop;

    j: = NULL;
    temp_codes: = NULL;

    ON THE OTHER
    j: = 1;


    j in 1.100
    loop
    If atten_store.exists (j) then

    IF substr (atten_store, (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "a".
    THEN


    temp_codes: = 'a ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;


    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "b".
    THEN


    temp_codes: = 'b ';.
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "c".
    THEN


    temp_codes: = 'c ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store, (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = has '
    THEN


    temp_codes: = ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store, (j), 3, 1) = 'e '.
    THEN
    ;

    temp_codes: = 'e ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "f".
    THEN


    temp_codes: = 'f';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "g".
    THEN


    temp_codes: = "g";
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "h".
    THEN


    temp_codes: = 'h ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = "i".
    THEN


    temp_codes: = 'i ';
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    ELSIF substr (atten_store (j), 1, 2) = i AND substr (atten_store (j), 3, 1) = 'j '.
    THEN


    temp_codes: = 'j '.
    temp_responses: = temp_responses | temp_codes;
    temp_codes: = null;

    END IF;


    END IF;

    end loop;

    END IF;




    So here's the problem with this code.

    I collect responses from the box on an html form - each (if enabled) box adds value to atten_store which is in this format (student #) to j, if the student is no. 1 and the person checks 3 checkboxes (the top 3), then the values of atten_store (1)-(3) would be 1 a, 1 b 1 c respectively. - so I store these responses in atten_store (x). The following code loops through student records and controls for their individual responses.

    There may be up to 50 students with up to 9 responses each. so up to 450 values in atten_store.

    The above loop starts by counting the total number of students and a loop in each where i represents the student number. IF statements are of course intended to determine if the student is # 1-9 or 10 + the reason for this is the values box... all students will be from 1 to 9 have values like this: 1a, 5 g, 9j etc - where the nature, the research will build on these 2 characters to find the right letter for a given total student. Loops removes the previous letter and gives the values provided for each student. The value of end, sent to the DB for 1 student is so, as you can see if student 1 gave a 1a, 1 c, 1f 'acf '.

    For students who are > student # 9 must be treated differently as its replies of 3 characters. ex: 10A, 10B, so if I < = 9 then do one thing, if I > = 10 then do something else. By something else I am just searching differently if characters.

    Of course, I suppose that there is a way better way to do it, but if you make the suggestion please try to explain it better, you can so I can try to implement with the rest of the code. in any case this is the problem...

    On the entry screen with check boxes when I press on submit on page 1 - Page 2, load - which the above code is responsible. Page 2 shows the responses so far, and will soon add to DB. When I put in no value for student 1-9, this code works and display page 2. It will show the answers given for each student (ONLY WHEN I GET the ANSWERS FOR STUDENTS 10 +) if I get any response for students does not load 1-9, page 2. I get no error at all - so I guess its a kind of problem of NULL value or something (why not IE or Firefox displays an error? just page not found), but when I come back and only enter values for students 10 + it works beautifully.

    So of course, my need is this: I want to be able to enter values for any student 1-9 or 10 +! She's. I guess it is a mistake to loopback somewhere in there, and I would be grateful any entry :-)

    Thanks in advance,
    Jeff

    Published by: 795018 on Sep 15, 2010 08:25

    Hello

    You can simplify your code (parts):

    IF i <= 9 THEN
      for j in 1..100
      loop
        if atten_store.exists(j) then
          IF substr(atten_store(j), 1, 1) = i
          and substr(atten_store(j), 2, 1) in ( 'a','b','c','d','e','f','g','h','i','j')
          THEN
              temp_responses := temp_responses || substr(atten_store(j), 2, 1);
          END IF:
       end if;
     end loop;
    else
      -- same kind of code only for i>= 10
    

    There is no closing the cursor (OPEN AttenCheck (pidm_store (i), crn_store (i))); in your code shown. Where you don't close it?

    In addition, you have only a loop from 1 to 100 for j, but you mentioned, it could be 450. Is it possible that the students of 1-9 are not in this range? The atten_store table begins with your students of 1-9, or perhaps with the number 22.

    Hope that helps a bit

    Herald tiomela
    http://htendam.WordPress.com

  • Resize the stage problems - please help!

    Hey guys,.

    I hope someone can help me here. I need to address this issue very soon, and I'm completely stuck!

    So basically. I've created an animation in a few months (in cs4 at the time I think) - standard 550 x 400 px. All done, everybody was happy. Now, I was asked if I can change the dinensions of animation at 1366 x 768 px. I am now under CC so... I watched, done what I told said...

    go to the key in the properties

    type in new dimensions, and then click content scale

    Has done all that, but every time I try to do that, he moves slights of the elements. For example all dropped randomly 100 px.

    So I tried the setting scale to 712 x 400 (in the hope that I could evolve in the future) but still got the same problem

    I got my info from this: http://tv.adobe.com/watch/cs-55-web-premium-feature-tour-/flash-professional-cs55-scaling-/ assets
    But of course, it is 5.5. But I noticed that it changes the settings in the preferences. Which I apparently do not have cc.

    Can anyone help? I'm really stuck on this, and I need to sort

    Any help would be wonderful!

    Thank you very much

    Jen

    Yes easiest way to resize an entire project is to move the selection all the frames, right-click on it, select images cut, and then creating a new symbol, and once inside paste content, you cut the symbol by right-clicking flowing first keyframe and select Paste images. Then when you come back to the stadium, you can drag the new symbol of your timeline and resize to your heart's content.

  • Clone Stamp and Healing Brush problem, please help!

    Hi, I'm new to the forum but I have been using Adobe creative suite for some time now.  As described in the title of the thread, I am having a problem with my photoshop clone stamp and Healing Brush tool that I can't fix on my own. I searched on the internet all day, scroll on many other posts, but I can't seem to find anyone else who has similar problems as I have here.

    It's a little hard to explain but the question I have, is that when I go to use my healing brush or Clone Stamp tool, layer I work if it is a flat or normal background editable layer get displaced as soon as I press the option button to make a choice, and when I go to install in the region using these tools it is then as I duplicated the entire layer and drag it around of the screen, even if no copy / paste was filed.  All my other tools are functioning normally and I wasn't having this problem last time, that I have worked on anything in photoshop.

    I am running:

    Mac OSX 10.5.8

    CS4 extended version 11.0.2

    Any help is greatly appreciated.

    Your probably see the source of duplication of overlay.

    Go to window > uncheck Source of duplication and either:

    Display the overlay for no overlay or check CRT to display the overlay

    cut to the size of the brush.

    There is also a forum for macintosh photoshop for later reference

    (you posted in the forum of photoshop elements)

    http://forums.Adobe.com/community/Photoshop/photoshop_macintosh

    MTSTUNER

  • When I launch the acrobat reader via vb 6 "shell" statement, I receive an error msg "file Pdf not found". the path is right and the file exist .please help me!

    Private Sub Form_Load()

    CommandLine = ' C:\Program Files (x 86) \Adobe\Acrobat.

    currpath = 'D:\Data\Data-Bas\Dossier Médical\' & 'Analyses\ '.

    StartLine = command line & currpath & 'ana04042011.pdf '.

    Debug.Print startline

    REP = Shell (startline, 1).

    End

    The command line is incorrect. Since there is a space in the name of the file, you must use quotation marks around the name. Earlier versions of the player accepted this error, but it has been blocked, probably for security reasons.

    Shell is not the best way to do it. ShellExecute is a much safer and future.

  • my Iphone 5 was automatically turned off, and then I couldn't go? What is the problem please help me?

    my Iphone 5 was automatically turned off, and then I couldn't go? What is the problem please help me?

    Have you tried to connect your iPhone to iTunes or the wall charger and let your iPhone for 5-10 minutes to charge its battery?

  • I currently own Adobe Creative Suite 5 Master Collection. My computer crashed and I was unable to disable the program. Please help me to reinstall the programs, given that I have exceeded the download due to problems with my computer. Thank you

    I currently own Adobe Creative Suite 5 Master Collection. My computer crashed and I was unable to disable the program. Please help me to reinstall the programs, given that I have exceeded the download due to problems with my computer. Thank you

    Hello

    Please see the thread: https://forums.adobe.com/thread/2028937?start=0&tstart=0

    Kind regards

    Shelly

  • Hello. I purchased a CS2 product and im having problems with activation. I have the key but my installation failed in the 'summary '. Please help thanks.

    Hello. I purchased a CS2 product and im having problems with activation. I have the key but my installation failed in the 'summary '. Please help thanks. This is what im seeing.

    Screen Shot 2016-03-01 at 9.09.51 PM.png

    See my response in audition 3 error with installation

  • problem installing windows 7 finishing installation scope and freeze for hours please help

    problem installing windows 7 finishing installation scope and freeze for hours please help

    my pc req:
    2 GB of ram
    NVIDIA geforce 210 1 GB
    180 GB
    Pentium 4 3.40
    Help, please

    Turn off the computer.

    try to start safe mode, start your PC, just before the system loads the Windows operating system. Press the [F8] key function 8 on your keyboard which will launch the menu Advanced Boot Options. Select Safe Mode.

    Log, click Start, type Device Manager, press ENTER.

    Expand graphics cards

    Right-click your video card, click on uninstall.

    Restart your system

    Log, click Start, type Device Manager, press ENTER.

    Expand graphics cards
    Right-click your video card

    Driver update software; then click search automatically for updated driver.

  • Torch2 9810 blackBerry Smartphones: sudden cannot hear on appeal after a call end and the ring shut! Help, please!

    I bought the new torch. And now it crashes. Auto restart. And the main problem is every day, I need to restart the phone I can't hear in the call or can't hear my ringtone too. He gets completely silent. Help someone. After I rebooted phone works very well for a while and even once it starts. Please let me know a solution or if someone has a problem like me...

    I have a similar problem with my 9810. Occasionally (one or two times a week maybe) my sound disappears for no apparent reason. I play a song or a video in Media Player and even if I see that the song/video is playng no sound.

    I wonder if it is related to the fact that I have a custom profile all the time (except in bedside mode). I'll try to play with it and report.

    The only solution I found is to perform a reboot of the device (ALT_SHFT_DLT). Putting off the unit and fix it.

    It is very annoying, especially when you are about to show a video to someone who owns an iPhone :-(

  • I have a table of the adf, I added a column that contains a button that I created, when I click it must remove this row in the table, but it is not, please help

    I have a table of the adf, I added a column that contains a button that I created, when I click it must remove this row in the table, but it is not, please help

    I don't understand. You use vo and eo for you to use business components.

    Again, this kind of code call in trouble.

    You must post the changes to make them visible to the eo find vo. You must then run the query for the changes in the business layer strips then you must update the iterator he table is based on.

    In your code I see that happen, hooch maybe because it is more often than not formatted and undocumented.

    My advice is to do a small test case that you can manage with easy sql. Once you get it to run transfer you the results to the actual application.

    Timo

  • My computer crashed and I reinstall first elements 7, but it will not recognize my serial number there are two on the CD case please help

    My computer crashed and I reinstall first elements 7, but it will not recognize my serial number there are two on the CD case please help

    When you ask a question you will need to provide some basic information

    Mac or Windows and EXACTLY what version of the operating system?

    Recent Mac AND Windows operating systems have been known to cause problems "weird."

    Lost information - response #1 in https://forums.adobe.com/thread/2008767

    Invalid License http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

    -http://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html

    - and http://forums.adobe.com/thread/1038761

  • My Instagram app will not open it keeps saying: "pending". I have tried to delete the app, off my phone and still nothing! Please help thanks

    My Instagram app will not open it keeps saying: "pending". I have tried to delete the app, off my phone and still nothing! Please help thanks

    You said that you tried to delete the app

    If you have not been able to

    Settings - general - storage - Storage - find the app - delete

    Do a forced reboot - after all open applications using the app Chooser - invoked by fast double pressing the home button and drag upwards on each app until it disappears from the screen.

    Meet the sleep/wake and home buttons down until you see the logo  - then release and allow normal start upward

    Then re download the app

  • We have made a purchase of the gems on the Cammand of Star Wars app.  Although us have been billed double and no has not yet obtained the gems.  Please help.

    We have made a purchase of the gems on the Cammand of Star Wars app.  Although us have been billed double and no has not yet obtained the gems.  Please help.

    Contact iTunes supports http://www.apple.com/emea/support/itunes/contact.html for assistance.

  • I bought a stock image and I can't seem to upload the image under a license without the watermark? Please help

    I bought a stock image and I can't seem to upload the image under a license without the watermark? Please help. When I download the image is the watermark, excuses that I'm a novice, the Image is listed as a license in my library

    Connect to Adobe Stock and you will see at the top right must look like this...

    Click on the "Images" button This will take you to the history of the license.

    Click on the thumbnail of the image to go to the image details page. You will see a download link. You must use the download link or add it to your an application project management libraries like Photoshop, InDesign, Illustrator, etc, to use the image without watermark.

    I hope this helps. :-)

Maybe you are looking for

  • Confused about hard drives external and ExpressCache 1.3.0 - Important.

    Hi Slotmosta, George and GLS, I'm a little confused... I thought that 1.3.0 is supposeed to defragment only SATA disks (this should be an option!)? I thought that the USB devices must eject normally - wasn't this problem? When comes out the next Expr

  • the taskbar appears on the second monitor

    I have a DELL XPS M1530 laptop with a GT GeForce 8600 M adapter and a second monitor running Windows Vista (fully updated). It has worked very well for more than eight months. Recently, I added a second user. Now, when the second user shuts down the

  • Hotspot is missing

    Hi, my laptop is dell inspiron 3537.  I have recently updated the wireless driver in my laptop after that I have found no station hotspot in my laptop. How can I get it again... Greetings

  • Signature Telnet?

    Hello everyone, I am new to cisco ips virtually experience :-) so I am looking for a signature triggering a telnet session to some switches... only cisco authorized ip addresses can be access to the devices.have someone an idea? Thank you very much..

  • LaserJet 2605dn initializes, then ready, then it says printing but nothing happens

    The 2605dn initializes, then going on loan, then when I try and print the configuration pages of the control panel placed in "printing" on the control panel but nothing happens.  It's there, watching staring into space.  Any ideas?  User manual no he