Expand my Community achievements bar.

eugzl
eugzl
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • 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 ...

    Type

    Questions

    Views

    2.4K

    Likes

    0

    Replies

    0
  • 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...

    Type

    Questions

    Views

    2.4K

    Likes

    0

    Replies

    0
  • 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++)...

    Type

    Questions

    Views

    3.4K

    Likes

    0

    Replies

    5
  • Hi Bruce. Thanks for replay.I found it link in that post:Position cursor in text field when form is opened Thanks.

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • 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.

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    1
  • 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) {     ...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    1
  • Hi All.I found post with link of a sample.https://acrobat.com/#d=2zbOAEq3AHzxSWexle0PQABut when I click on it I didn't find sample. Just ads of Adobe products. How to find that sample?Thanks.

    Type

    Questions

    Views

    2.1K

    Likes

    0

    Replies

    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.

    Type

    Questions

    Views

    2.9K

    Like

    1

    Replies

    3
  • Hi MinusZero. Thanks for replay.In your example, if I understood correct, you insert Script Object named Global. But I asked about global variable. In my form I created global variable NAMES with values John,Bill. That is like global array.Please, let me know how can i declare a array that is GLOBAL...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Hi All.I create global variable Names with values: John, Bill.Now I would like to compare global variable to entered value in TextField. For instance:if (TextField1.rawValue == Global.John) {TextField2.presence = "hidden";}How to do that?Thanks.

    Type

    Questions

    Views

    2.4K

    Likes

    0

    Replies

    4