Applet submit and save scripts

Use Crossword Compiler's Web Publish button (hosting on crossword.info) where everything is automated for you.

This is an advanced topic for people who want to process submission from the solving applet themselves, or implement Save.

Submit

You need to set the location of the script in Crossword Compiler: set the "Submit URL" setting in the Applet options (under File, Web page export, Export to Files, Applet options, URLs) to the name of the script on your server, with "%SUBMIT%" as a placeholder where you want the submit information to be. e.g. something like

https://www.crossword-compiler.com/mypath/myscript.php?sub=%SUBMIT%

Then just use Web Page Export to export your interactive puzzle, including the "Submit" button option.

The submission information contains the letters in the grid or the words, depending on whether you selected Use human-readable submit format in the applet options window. You can obtain the correct solution that your script can use for comparing to submission using the Get Solution button in the Applet Export window. It is up to you to implement the script to collect from the user whatever additional information that you wish.

Save Scripts

The optional Save button will by default save puzzle state in the user's web browser, and for most purposes this is enough. If you want to implement some cross-browser/device synching, you can also use your own Save URL, to store information and then later pass it in to the applet via the PROGRESS input parameter.

Back to Top