Hi there.
Still getting my head around this code thing.
My objective is to have a kind of ticket validation system. Valid ticket numbers (non sequential since they use a validation suffix) are inserted in a collection that also has Boolean value to record if that particular ticket has been scanned before.
Each ticket is accessed via it’s number generated dynamic link. The Boolean variable is set, so that if such number is accessed again an error message is displayed.
I would however like that if an invalid ticket number (not in the collection) is tried i could display some custom message instead of the generic 404.
I saw that you are unable to create custom 404 pages, but was wandering if it is possible to have some default action when non existent dynamic pages are accessed.
And if there is some alternative approach to doing this please let me know. My main objective for doing this way was to be able to generate custom links with the embedded ticket number, rather than having a page where you manually enter the ticket number.
Thank you