• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 Text input not working at all in HTML5 project - SOLVED

P

pandateam

Guest
Hello - this is driving me crazy so any advice would be hugely appreciated.

I'm a teacher and wanted to make a form that students could enter answers in and have them checked, and if they get all answers right it gives them a link to the next task (like a sort of online escape room). I've made the form and it works 100% if I test it as a windows project AND if I test run it as HTML5 in GM (where it opens in my default browser), but when I export it as a zip and upload it to itch it just doesn't seem to read keyboard_string at all.

It draws the rest of the form fine, so it doesn't seem to be a font issue, and the answer boxes change colour to show they're active when you click on them, so that's working, but it doesn't then draw the string you type in. I've tweaked and tried loads of different things (including trying an ugly/clunky get_string_async solution) and none of them work, so if anyone has suggestions I'm all ears.

EDIT - never mind, for some reason NOT having it set to automatically run when the page loads made it work. RELIEVED.
 
Last edited by a moderator:
Top