Technical Tip: Collect mobile numbers in FortiAP Captive Portal
| Description | This article describes how to capture users' mobile numbers during captive portal authentication for Wi-Fi guest access, without implementing SMS/OTP verification and helps collect the mobile numbers of the users. |
| Scope | FortiGate, FortiAP. |
| Solution | FortiGate does not natively validate mobile numbers, but customization can be done in the captive portal HTML page to include a mobile number input field. The submitted data can then be logged or forwarded to an external system for tracking.
Go to Network -> Interfaces. Select the interface or SSID where captive portal should apply. Under Authentication, enable Captive Portal. Choose the type of captive portal (Authentication / Disclaimer + Authentication).
Navigate to System -> Replacement Messages. Select Authentication -> Login Page. Switch to HTML view. Insert a new input field for mobile number.
Example:
<div class="field">
Below are the limitations:
|


