<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Dynamic masking of password field with asterisk</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/11349f41a4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/11349f41a4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/11349f41a4/</id><updated>2021-08-05T16:49:53.621000Z</updated><subtitle>Recent posts to Dynamic masking of password field with asterisk</subtitle><entry><title>Dynamic masking of password field with asterisk</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/11349f41a4/?limit=25#25fe" rel="alternate"/><published>2021-08-05T16:49:53.621000Z</published><updated>2021-08-05T16:49:53.621000Z</updated><author><name>Comingback4u</name><uri>https://forge.codesys.com/u/comingback4u/</uri></author><id>https://forge.codesys.comd3e25b10402633a8e815ee3bf9b1de2aa5ba9214</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can also use the function in the VisuDialogs library called VisuDlg_GetPasswordString to convert a string to asterisks.  In your "Text Field" you would set the "Text Variable" to VisuDlg_GetPasswordString(stOrg:= str_Password)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Dynamic masking of password field with asterisk</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/11349f41a4/?limit=25#5a89" rel="alternate"/><published>2021-08-05T10:37:53.654000Z</published><updated>2021-08-05T10:37:53.654000Z</updated><author><name>lefish</name><uri>https://forge.codesys.com/u/lefish/</uri></author><id>https://forge.codesys.com513a3e12c1632c9a5f05c6b76ebe601698aac7de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Alright, while writing this post I came up with the trivial solution myself, which I just successfully tested:&lt;/p&gt;
&lt;p&gt;Simply change the str_MaskedPassword variable to be InOut and handle it the same way like the unmasked str_IOPassword InOut variable...&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
LeFish&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Dynamic masking of password field with asterisk</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/11349f41a4/?limit=25#744d" rel="alternate"/><published>2021-08-05T10:19:31.356000Z</published><updated>2021-08-05T10:19:31.356000Z</updated><author><name>lefish</name><uri>https://forge.codesys.com/u/lefish/</uri></author><id>https://forge.codesys.combe05748af76098484cca230b107745fd7e05ba7a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi erveryone,&lt;/p&gt;
&lt;p&gt;I am on CodeSys 3.5.16.&lt;/p&gt;
&lt;p&gt;In the CodeSys login dialog the password field is always masked with three asterisks&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;***&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;So I came up with my own password field as visu object, which I reference to in the login dialog.&lt;/p&gt;
&lt;p&gt;This is how the visu object looks like:&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/masked_password.PNG" width="50%"/&gt;&lt;/p&gt;
&lt;p&gt;The OnMouseDown-Event: &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>