Captive Portal - External splash page and creating error message

We are using a Balance One with captive portal and external splash page. When a user enters their ‘Guest Code’ on the portal incorrectly, the page refreshes to a fully blank page (all white) on the browser with no message to the user indicating a problem (the end of the URL indicates a failed login attempt). We need to have something like this generated (from a different mfg router) -

Here is a sample URL when an incorrect ‘Guest Code’ is entered - http://XXXXXXX.com/?c=pepguestcode2?username=fjskldkjf%40onspotwifi&host_ip=192.168.209.1&host_mac=10%3A56%3ACA%3A61%3A0A%3A30&ip=192.168.209.40&mac=84%3A3A%3A4B%3A34%3A56%3A2C&ssid=undefined&vlan=0&res=fail&orig_url=https%3A%2F%2Fonspotwifi.com&message=&auth_code=401&auth_msg=Invalid%20Username%2FPassword&type=login&status=fail

This is the message I received from our programmer that operates the Radius server we use for authentication - ***We will need some documentation from Peplink on whether they support error message during authentication. Basically Peplink needs to parse the response from our RADIUS server and allow us to display that on the captive portal.

***How can we create an error message to the user that an incorrect Guest Code was entered?
Thank you for your help.

Hi,

Please refer to this (Peplink | Pepwave - Forum) link. The required attributes were there.

Hope this help.