Hi BR001.That is design of Login form:That is Hierarchy of the form:Where Login is Script Object of page1.The complete code of Login script object in my first post.The code of button btnLogin on click event: Login.validate();The code of text field txtPassword on exit event: Login.validate();That is ...
Hi BR001. Thanks foe replay.I tried your suggestion code but unfortunately when I typed wrong password and/or username I got alert:"Invalid username and/or password. You have 2 left."After I click OK on alert message I got alert:"Invalid username and/or password. You have 1 left.How to fix the pro...
I'm trying create function to validate with limit login attempt. That is my code:var attempt = 3; // Variable to count number of attempts.function validate() {var username = form1.page1.subLogin.txtUserName.rawValue;var password = form1.page1.subLogin.txtPassword.rawValue;for (var i = 0; i < 2; i++)...
Hi All.I would like to close form by condition. But before form will closed I would like to display popup alert for 1-2 seconds and then auto close form. How to do that?Thanks.
I would like to create loop to check data entered by user into TextField with all array values in global variable. I tried like this:var i = 0; for (i = 0; i < 3; i++) { if (txtName.rawValue == _Name[i]) { xfa.host.messageBox("Your NAME is correct."); } } if (i == 3) { ...
I'm trying to figure out how to use global variable array. I found postmyArray is not behaving as GLOBAL scope?I did exactly like explained in that post. But when I click button I got such error message result:How fix it?Thanks.
Hi All.In my form when user fill the form the textField get some value. Then user save the form. Then form saved and closed. Based on value of textField I would like to open form with according layout.What event I must to use if I have some conditions:if textField1==3 then I would like to show only ...
Hi All.Ordinary drop-down list has 2 columns (Value and Text). My question is. Is possible create Drop-down list with more than 2 columns list? For instance, Value and some Text columns. If yes. How to create it?Thanks.