This is a simple example that requires subscribers to agree to terms & conditions before granting Internet access, it's a small step up from autologin-with-registration-forms with the additional option to enable registration form fields.
For this guide we created a free billing plan with bandwidth limits and unlimited recurrence. Head to
Billing → Billing Plan to create one of type
Create a new registration form by browsing to
Layout → Registration forms (use the +-icon in the sub-menu). Since we do not wish for any interaction we only configure the Free-access billing-plan and enable Auto-login. Give the registration form a name and enable
Visible for portal use.
Download the custom portal code and head to
Layout → Portal Page. Once on the
Overview tab use the +-icon in the right hand corner to add a new captive portal. Give it a name and select
Custom HSM portal and click
Add. After submission you'll be shown the portal settings, upload
registrationform_autologin.zip. You should now select the registration form you'd like to use with this portal, enable the registration form you previously created. Make sure the enabled registration form is first in the list. Use the up/down arrows on the left side to move your registration form into first(/top) position. There's nothing else that needs to be changed, the defaults are good.