<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Password input</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/</id><updated>2023-07-28T06:59:28.383000Z</updated><subtitle>Recent posts to Password input</subtitle><entry><title>Password input</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/?limit=25#6166/01d3" rel="alternate"/><published>2023-07-28T06:59:28.383000Z</published><updated>2023-07-28T06:59:28.383000Z</updated><author><name>macros8</name><uri>https://forge.codesys.com/u/macros8/</uri></author><id>https://forge.codesys.com8009e9604bd15241a7bae602a2a2e13950db5952</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi ben1,&lt;/p&gt;
&lt;p&gt;I know about user management but in this case I just needed to set minimum number of chars for my input. This password handling is very simple (and we do not want to change it during conversion to Webvisu) and I´d like to know whether there is some system feature or I have to create it by my own.&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;P.S. For user management I create a new topic. I have an issue that I cannot see User Tab :/&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Password input</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/?limit=25#6166" rel="alternate"/><published>2023-07-27T22:42:02.837000Z</published><updated>2023-07-27T22:42:02.837000Z</updated><author><name>ben1</name><uri>https://forge.codesys.com/u/ben1/</uri></author><id>https://forge.codesys.com96417761c7bfd3c997ee4ffd5a0bdf43575a3dbf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Are you trying to handle your own password?&lt;br/&gt;
There is a built in Visu user management option, this allows you to add access/visibility to a button. See snips.&lt;/p&gt;
&lt;p&gt;If you are wanting to handle it yourself, you can open a visu via code with the VisuElems.CurrentVisu parameter (needs to be turned on from Visualisation Manager) or open a dialog using the FbOpenDialog from the VisuUtils Library.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Password input</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/?limit=25#0746/ae30" rel="alternate"/><published>2023-07-26T06:10:07.796000Z</published><updated>2023-07-26T06:10:07.796000Z</updated><author><name>macros8</name><uri>https://forge.codesys.com/u/macros8/</uri></author><id>https://forge.codesys.comb5979766cbfc4735079a7cd8788a1f548de90260</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi ben,&lt;/p&gt;
&lt;p&gt;it is not a problem and I have used it. Just wanted know whether there is not any system solution instead of this workaround.&lt;/p&gt;
&lt;p&gt;The reason is for setting e.g. new password. Customers could have a possibility to adjust it but with define minimum length -&amp;gt; it´s quite general procedure when you create any account on the web pages etc.&lt;br/&gt;
&lt;strong&gt;&lt;br/&gt;
This brings me to another question, I faced.&lt;/strong&gt;&lt;br/&gt;
I have created button - Set password. As actions I use Execute ST-code as the first one and second one is Show dialog -&amp;gt; msg box.&lt;br/&gt;
Unfortunately it seems that those actions are not synchronous, so the ST-Code script is not completed first and therefore the dialog does not show right String value which is generated in ST-Code above.&lt;/p&gt;
&lt;p&gt;In ST-Code I check the inputs of passwords and generate status accordingly. Then I´d like to show msg in dialog.&lt;/p&gt;
&lt;p&gt;Do you know how to handle that? It would be probably same for password length check script.&lt;br/&gt;
(Maybe there is a chance to open dialog directly from ST-code).&lt;br/&gt;
But still, I expect that those action are synchronous and are processed one by one.&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;br/&gt;
M.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Password input</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/?limit=25#0746" rel="alternate"/><published>2023-07-25T02:01:23.344000Z</published><updated>2023-07-25T02:01:23.344000Z</updated><author><name>ben1</name><uri>https://forge.codesys.com/u/ben1/</uri></author><id>https://forge.codesys.com45a0a706b57270a2398acd7f4c5d7893a1256425</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As far as I am aware, it does not. Is it a problem to only display fixed asterisks?&lt;/p&gt;
&lt;p&gt;If you are looking at it to display the number of asterisks = characters entered, I believe you will need to use code to determine length of string entered and use this to display the correct number. There would be several ways to achieve this.&lt;/p&gt;
&lt;p&gt;I also believe the above (code to detect string length) would be the solution for the second question, I do no think there is a built in string length monitor, only the default (not) &amp;gt;255 characters.&lt;br/&gt;
Again though I question the reasoning, if it is a password field, why does it matter a minimum length? If they enter it incorrectly, 1 character or 100, it is still wrong.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Password input</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/e819879e42/?limit=25#c514" rel="alternate"/><published>2023-07-18T08:11:46.097000Z</published><updated>2023-07-18T08:11:46.097000Z</updated><author><name>macros8</name><uri>https://forge.codesys.com/u/macros8/</uri></author><id>https://forge.codesys.com64da60c3e153eeb57d26297a1e320828160baefd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;another question - or rather best-practice you have.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First question&lt;/strong&gt;&lt;br/&gt;
I´m trying to implement field for password input. I have used general rectangle with Input event and checked Password.&lt;br/&gt;
It works fine as input but as soon as I want to show my password in field, it´s normally visible text without e.g. * placeholder.&lt;/p&gt;
&lt;p&gt;So I had to write fixed text: *** to the field but is it really only way? Does not textfield or rectangle have property it´s password field and make it automatically?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Second question:&lt;/strong&gt;&lt;br/&gt;
Is there way how to define minimum length of input text?&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;br/&gt;
M.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>