I’m working on an ExpresssionEngine project for which the client would like to require users to enter one of a set of pre-defined access codes to view private content- either in the form of a separate page, or a modal that would appear upon entering a valid code. The actual form would literally be one input field- and would validate against a set of numerical codes (e.g. “54335”) to view private content. We’d also want to be able, in some manner, to track page views by code. I’m curious if anyone has any ideas on how to implement a feature like this either natively in EE, or with the help of an add-on. I have FreeForm Pro installed, and have contemplated some way of using a FF form to validate against the set of access codes, but not entirely sure how to proceed (ideally these codes would be defined in the backend, and not viewable in the source, say via hidden form fields.)
Any ideas here are most appreciated.