This is a PHP and JavaScript based captive portal that requires only a valid email address for login
Each email submitted is marked with date/time, the client's MAC address, and stored with an incremental numeric value.
There are two versions here. One is meant for Ruckus Wireless' Hotspot service (Tested with both Unleashed and ZoneDirector controllers) and one is meant for Ubiquiti Unifi controllers (Tested with Unifi Controller 5.10.25).
- Alex Ortmanns, https://forums.ruckuswireless.com/ruckuswireless/topics/best_practice_for_a_captive_portal_without_a_password
- jQuery, https://jquery.com/
- https://www.quora.com/How-can-I-submit-two-forms-with-one-button
- https://forums.digitalpoint.com/threads/how-to-submit-a-form-without-rerload-or-redirect-the-page.2151997/
- Bootstrap of course, https://getbootstrap.com/
- Email validation via https://itnext.io/https-medium-com-joshstudley-form-field-validation-with-html-and-a-little-javascript-1bda6a4a4c8c
- jQuery Validation, https://jqueryvalidation.org/
- Darin Dimitrov, https://stackoverflow.com/questions/5052315/how-to-fire-jquery-function-only-if-form-is-valid
- https://stackoverflow.com/questions/31612454/using-javascript-to-populate-a-hidden-field-from-url-parameter
- Art of Wifi, https://github.com/Art-of-WiFi/UniFi-API-client
- Make it all work with IIS and SQL Express
- Create a record management page with reset/export capability
- Screenshots for Ruckus configuration
- Ubiquiti version currently uses a Unifi admin account to authorize guests