Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

How do I make the customized HTML "Continue" button work? (case 3800)

  1. #1

    How do I make the customized HTML "Continue" button work? (case 3800)

    I was trying to show both the HTML file and a scale response with radio buttons on the same screen. I created a text file that contains a question, an image and some radio buttons, and a "Continue" button, and then saved it as a an HTML file. I selected the item type as a "custom item", and I attached the HTML file under file name. I was able to use MediaLab to display the HTML file, however, the radio button response was not being recorded, and when I clicked on the continue button, nothing happened (it didn't take me to the next screen). How do I correct these problems??

  2. #2
    Without looking at your HTML it is difficult to tell exactly what may be happening. Based on your description it could be that your input command is missing some information. For instance, it should look like this:

    <input type="submit" value="Continue">

    and, following the input command, it could be that your <form> command is not closed with </form>

    Are either or both of those in need of editing?
    If not and you still need help with this issue, upload your HTML.

  3. #3
    Without looking at your HTML it is difficult to tell exactly what may be happening. Based on your description it could be that your input command is missing some information. For instance, it should look like this:

    <input type="submit" value="Continue">

    and, following the input command, it could be that your <form> command is not closed with </form>

    Are either or both of those in need of editing?
    If not and you still need help with this issue, upload your HTML.


    i have attached mine html codes.
    thank you!

  4. #4
    I moved your </form> tag to near the end of the file and saved the file under a new name Give it a try and let us know how it goes.

  5. #5
    I moved your </form> tag to near the end of the file and saved the file under a new name Give it a try and let us know how it goes.


    I tried to run the html file that you attached on medialab and the continue button still didn't work...when i clicked on it it didn't take me to the next screen...

  6. #6
    Your <form> tag was incomplete. To the file attached, I added the following:

    <form name="form" method="post">

    Give the new version a try.

  7. #7
    Your <form> tag was incomplete. To the file attached, I added the following:

    <form name="form" method="post">

    Give the new version a try.


    OMG! it works now!!!!
    It was very frustrating to me when I was trying to figure out what went wrong on my own.
    Thank you very much!
    Although the continue button created by the html code works (i.e., it takes me to the next question), i can still see the default "Continue" button of MediaLab at the bottom right of the screen. How do I hide it??

  8. #8
    details from an older thread on hiding the Continue button can be found at the following link:

    http://www.empirisoft.com/support/showthread.php?t=5662

  9. #9
    details from an older thread on hiding the Continue button can be found at the following link:

    http://www.empirisoft.com/support/showthread.php?t=5662


    Awesome!
    Solved my problem!
    Thank you very much! :)))

  10. #10
    Awesome!
    Solved my problem!
    Thank you very much! :)))


    Glad to hear it! You're welcome.