Captive Portal Login Button

Reply
L4 Transporter

Captive Portal Login Button

Has anyone been able to change the button on the captive-portal custom webpage to be anything other than the word "Login", for examples where we want a guest only button this sometimes need to read "I Agree" to bind users to an acceptable use policy.

Abs
L3 Networker

Re: Captive Portal Login Button

As of 5.0.2 the button cannot be modified from the word "Login" or the submit button will not work.

L0 Member

Re: Captive Portal Login Button

Yes and no.  I set the DIV to be hidden and gave it an id for the login button, then created my own button.  I set onclick to simply click the login button.  Worked like a charm!

<input class="buttonFixed" id="pributton" type="submit" name="ok" value="Login" onClick="submitClicked()">

<input type="submit" name="log" value="I Agree To The Above Terms And Conditions" onClick="document.getElementById('pributton').click()">

You can also just add an imbedded image which works too!

Abs
L3 Networker

Re: Captive Portal Login Button

Nice. I'm not an expert at CSS, so I didn't think about that. Great workaround!

Highlighted
L4 Transporter

Re: Captive Portal Login Button

Yeah, pretty slick answer.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!