08-22-2017 04:20 AM
Hello Community!
I have an application that uses a boolean controler to make a string controller visible. In this string controller the user must insert the password to change from normal user level to admin level. An event structure triiggers an event on change value of the boolean controller. Can I in the code for the same event, detect when the password has been inserted by the user? Attached to this post you will find screenshots of the code. Thanks in advance for the answers
Solved! Go to Solution.
08-22-2017 04:38 AM
Please Share the Code Instead of Image not able to get anything from the image and we cant run if needed to solve the issue.
08-22-2017 04:39 AM
yes you can ..
edit your Boolean event and add string value change event
08-22-2017 04:48 AM
Your code seems to be incomplete. For example, you read the password from an ini file but you don't do anything with it.
I think that in the Boolean Value Change event you should only show the PASSWORD control (not controller!).
The rest should be managed in the PASSWORD Value Change event, that is to check the password and possibly fire a levelchange user event (I assume that "levelchange" corresponds to a security level change, so it requires the password to be correct; but I may be wrong).