Forum Discussion
Disable button if checkbox is not checked
Hello,
I order to let the users change there AD password, I have enabled the change password option in APM. But my question is the following: Is there a way to disable te butoon if the checkbox is not checked?
At this time the user can still click on the button even if the checkbox is not check.
Any help is very welcome
Thanks in advance
- youssef1
Cumulonimbus
Hi,
If you want to do that you have to manipulate logon page custo (adding an javascript that hide button ) until user check checkbox.
Can you give us more details, because in this case you will force user to change his password, each time he cross this service.
But if you deploy a dedicated service for change password you can set variable (change password to 1) and don't let choice to user, as soon as he enter user/pwd then button he have to change his password (no need to display the checkboy).
So to do that add a variable assign and set "session.logon.last.change_password" to 1 (return "1"):
This is a Variable Assignment agent that triggers APM to show a Change Password window. Set variable: session.logon.last.change_password to Custom Expression: expr { 1 }
https://devcentral.f5.com/codeshare/pwned-passwords-check-1128
hope it's clear.
regards
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com