since ‎27-08-2010
‎10-12-2019
eugzl
Level 2
reset some rows in the table
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi All.How to reset data in some rows in the table? Not whole table.

Views

1.6K

Likes

0

Replies

1
set only years packed date
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi All.Does it possible to restriction picked date in date field that only years will display. How it to do If that is possible?Thanks

Views

2.6K

Likes

0

Replies

3
use Acrobat DC Fill & Sign tool in form developed in AEM
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi All.I developed dynamic fallible form using AEM Designer Form 6.5. Does it possible to put an image sing if this form will open in Acrobat DC? If yes. How to do that?Thanks.

Views

1.1K

Likes

0

Replies

0
Re: dynamically change controls width in table cell
Avatar

eugzl

eugzl
- Adobe Experience Manager
The problem is solvedif(xfa.event.newText == "Other") { txtField.presence = "visible"; this.w = "0.5in"; txtField.w = "1.8in"; txtField.x = "0.49in";}

Views

1.3K

Likes

0

Replies

0
Re: dynamically change controls width in table cell
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi JaideerBrar. Thanks for replay.I not familiar with OOTB css/js. I will appreciate if you help by code and explain what need to do.Thanks.

Views

1.3K

Likes

0

Replies

0
dynamically change controls width in table cell
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi All.I have dropdownlist and text field in one table cell. And I would like when dropdownlist has value "Other" the Text Field width will increase and dropdownlist width will decrease. The table cell size will keep unchangeable. If is that possible how to do that?Thanks.

Views

1.9K

Likes

0

Replies

3
Re: How to change text field size by drop-down list value
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi Bharath. Thanks for replay.Yes, I need JS code in event change of drop-down list with IF statement. It should be look like:if(xfa.event.newText == "Other") TextField.presence.w = "2 in"; DropDownList.w = "1 in";else TextField.presence.w = "1 in"; DropDownList,w = "2 in";But that code doesn't work. My problem how correct to specify width in the JS code. How to fix it?Thanks.

Views

1.4K

Likes

0

Replies

0
How to change text field size by drop-down list value
Avatar

eugzl

eugzl
- Adobe Experience Manager
Hi All.I have drop-down list and text field in the form and Iwould like to change high and width by selecting value in drop-down list. If that is possible how to do that?Thanks.

Views

2.5K

Likes

0

Replies

3
convert dynamic pdf form to web form
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.I create dynamic PDF fillable form using AEM Form Designer application. Now that form located on network. And in case when users ask to make some modifications before I will upload modified form back to network I asking all users to close the file only that way I will have ability to update form on network. My question, is possible to convert PDF dynamic fillable form to web fillable form and if is it possible how to do that?Thanks.

Views

762

Likes

0

Replies

0
Re: show/hide subform by select radiobutton
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi BR001. Thanks for replay.Thanks for suggestion. Now CASE statement is working.

Views

1.4K

Likes

0

Replies

0
show/hide subform by select radiobutton
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.I try to show and show/hide some subforms by click on radiobutton. By default all subforms are hidden. When I click radiobutton the according sunform is appears. But when I selected other radiobutton the other subform is appears also but first subform not disappear. My goal to display only one subform for according radiobutton. That is my code for radiobutton group in change event:switch (this.rawValue) { case "1": subA.presence = "visible"; break; case "2": subS.presence = "visible"; bre...

Views

1.5K

Likes

0

Replies

2
calculate difference between to date and convert to time
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi AllI try to calculate in FormCalc difference between to dates and display result in time format like HH:MM. I have two date fields formatted by MM/DD/YYYY: satrtDate and endDate. And TextFeild where I expect to get result.My code for TextField in calculate event:differenceD = (Date2Num(endDate, "YYYY-MM-DD") - Date2Num(startDate, "YYYY-MM-DD")) * (1000 * 60 * 60 * 24)$ = Num2GMTime(differenceD, "HH:MM")But unfortunately I cannot get the result. What is problem in my calculation? How to fix to...

Views

1.0K

Likes

0

Replies

1
Re: calculate total hours of column
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi MinusZero. Thanks for replay.My form has fixed 14 rows table with header and footer. The cells of TimeIn and TimeOut columns are formated to HH:MM time fields. The cells of TimeWork column are TextFields. In TimeWork I calculate time like:if(Table1.Row1.TimeIn.isNull or Table1.Row1.TimeOut.isNull) then$ = ""elsevar startT = Time2Num(Table1.Row1.TimeIn.formattedValue, "HH:MM")var endT = Time2Num(Table1.Row1.TimeOut.formattedValue, "HH:MM")var differenceT = endT - startT$ = Num2GMTime(differenc...

Views

1.3K

Likes

0

Replies

0
calculate total hours of column
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.In my table I have columns: TimeIn, TimeOut, and TimeWork where I calculate difference between TimeIn and TimeOut in column TimeWork using functions TimeToNum and NumToTime in FormCalc. I would like to calculate total hours of column TimeWork . For instance:TimeInTimeOutTimeWork05:2515:2510:0007:1023:2016:1009:1501:3016:15Total Hours42:25If that is possible how to do that?Thanks.

Views

2.2K

Likes

0

Replies

4
change caption font color for radio button when item is selected
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.I have group of RadioButtons and I would like when one of RadioButton from group is selected than font color of caption for that button will change color. If that is possible. How to do it?Thanks.

Views

1.0K

Likes

0

Replies

1
Re: validate fields in the form in click event
Avatar

eugzl

eugzl
- Adobe LiveCycle
I fixed like you suggested but it didn't solve the problem.My email field validate event:if ( this.rawValue != null && this.rawValue != ""){var r = new RegExp("^[a-zA-Z0-9_\\-\\.]+\\@[a-z0-9_\\-\\.]+\\.[a-z]{2,3}$"); // Create a new Regular Expression Object.// Set the regular expression to look for an email address in general form.var result = r.test(this.rawValue); // Test the rawValue of the current object to see// if it fits the general form of an email address.if (result == true) { // If it...

Views

1.5K

Likes

0

Replies

0
validate fields in the form in click event
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.In my form I validate DateField for date format and EmailField for email address. Those fields are validating when user input wrong value. I would like to execute validation of those fields when user fill in all fields of the form and click event of button. My code for button in click event:if (form1.page1.email.rawValue !== null || form1.page1.Date1.rawValue !== null) {if (form1.page1.email.execValidate() == true) {if (form1.page1.Date1.execValidate() == true) {xfa.host.messageBox("Your ...

Views

3.5K

Likes

0

Replies

6
Re: remove underlined textfield in javascript
Avatar

eugzl

eugzl
- Adobe LiveCycle
HI Magus069. Thanks for replay.My purpose to remove line in underlined TextField by condition. In one case it should be presented and other case hidden.Thanks.

Views

1.3K

Likes

0

Replies

0
remove underlined textfield in javascript
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.I tried to remove underlined textfield dynamically. Code in javascript:xfa.resolveNode("form1.page1.subForm.txtName.ui.#textEdit.border.corner.color").value = "255, 255, 255";Also I tried like:xfa.resolveNode("form1.page1.subForm.txtName.ui.#textEdit.border.corner").presence = "hidden";but unfortunately unsuccessful. How to solve the problem?Thanks.

Views

2.5K

Likes

0

Replies

3
validate function
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi All.Is exist way to validate function by pass according value? If yes. How to do it?Thanks.

Views

919

Likes

0

Replies

1
Re: alert message pop up twice in IF statement
Avatar

eugzl

eugzl
- Adobe LiveCycle
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 complete description of Login form.Thanks.

Views

1.3K

Likes

0

Replies

0
Re: alert message pop up twice in IF statement
Avatar

eugzl

eugzl
- Adobe LiveCycle
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 problem?Thanks.

Views

1.3K

Likes

0

Replies

0
alert message pop up twice in IF statement
Avatar

eugzl

eugzl
- Adobe LiveCycle
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++) {if (username == _Username[i] && password == _Password[i]) { app.alert("Login successfully");}}if (attempt <= 3) {app.alert(String.concat("Invalid username and/or password. You have ", attempt, " lef...

Views

2.3K

Likes

0

Replies

5
Re: cannot find sample in Adobe site
Avatar

eugzl

eugzl
- Adobe LiveCycle
Hi Bruce. Thanks for replay.I found it link in that post:Position cursor in text field when form is opened Thanks.

Views

1.2K

Likes

0

Replies

0
how specify alert with setTimeOut() function
Avatar

eugzl

eugzl
- Adobe LiveCycle
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.

Views

991

Likes

0

Replies

1
loop problem
Avatar

eugzl

eugzl
- Adobe LiveCycle
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) { xfa.host.messageBox("Your NAME is wrong."); } where: _Name = eval(Names.value) is global variable array valueand txtName is TextField where user type data.When I run the execute that code I got the second message pop up first and ...

Views

906

Likes

0

Replies

1
cannot find sample in Adobe site
Avatar

eugzl

eugzl
- Adobe LiveCycle
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.

Views

1.6K

Likes

0

Replies

3
array in global variable
Avatar

eugzl

eugzl
- Adobe LiveCycle
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.

Views

1.8K

Like

1

Replies

3
Re: How to compare global variable value to TextField value
Avatar

eugzl

eugzl
- Adobe LiveCycle
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. If to say Names[0]. Is that John?Thanks.

Views

1.4K

Likes

0

Replies

0
How to compare global variable value to TextField value
Avatar

eugzl

eugzl
- Adobe LiveCycle
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.

Views

1.9K

Likes

0

Replies

4
Likes given to