Forum Discussion

MonaMondin-8b0c's avatar
MonaMondin-8b0c
Community Member
3 years ago

Multiple Text Entries on a Slide

Hi! I have a slide with 3 text entries that is set up on an Essay Question slide. I want the user to fill out at least 1 out of the 3 text entries before the submit button is enabled. I also want them to have to type at least 10 characters in the text entry they choose before they can move on in the course.  Can anyone help?  I have added a picture.

  • Execute javascript when TextEntry1 changes

    Execute javascript when TextEntry2 changes

    Execute javascript when TextEntry3 changes

    Javascript checks all three TextEntry variables to see if one is longer than 9 characters. If so, it changes CanSubmit variable.

    Change state of Submit to Normal when CanSubmit changes if CanSubmit = true.