since ‎27-08-2010
‎10-12-2019
eugzl
Level 2
reset some rows in the table eugzl - Adobe Experience Manager
Hi All.How to reset data in some rows in the table? Not whole table.
1582
Views
0
Likes
1
Replies
set only years packed date 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
2600
Views
0
Likes
3
Replies
use Acrobat DC Fill & Sign tool in form developed in AEM 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.
1040
Views
0
Likes
0
Replies
Re: dynamically change controls width in table cell 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";}
1247
Views
0
Likes
0
Answers
Re: dynamically change controls width in table cell 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.
1242
Views
0
Likes
0
Answers
dynamically change controls width in table cell 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.
1893
Views
0
Likes
3
Answers and Comments
Re: How to change text field size by drop-down list value 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.
1334
Views
0
Likes
0
Answers
How to change text field size by drop-down list value 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.
2467
Views
0
Likes
3
Answers and Comments
convert dynamic pdf form to web form 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.
721
Views
0
Likes
0
Answers and Comments
Re: show/hide subform by select radiobutton eugzl - Adobe LiveCycle
Hi BR001. Thanks for replay.Thanks for suggestion. Now CASE statement is working.
1339
Views
0
Likes
0
Answers
show/hide subform by select radiobutton 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...
1481
Views
0
Likes
2
Answers and Comments
calculate difference between to date and convert to time 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...
971
Views
0
Likes
1
Answers and Comments
Re: calculate total hours of column 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...
1250
Views
0
Likes
0
Answers
calculate total hours of column 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.
2184
Views
0
Likes
4
Answers and Comments
change caption font color for radio button when item is selected 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.
1000
Views
0
Likes
1
Answers and Comments
Re: validate fields in the form in click event 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...
1399
Views
0
Likes
0
Answers
validate fields in the form in click event 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 ...
3459
Views
0
Likes
6
Answers and Comments
Re: remove underlined textfield in javascript 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.
1310
Views
0
Likes
0
Answers
remove underlined textfield in javascript 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.
2475
Views
0
Likes
3
Answers and Comments
validate function eugzl - Adobe LiveCycle
Hi All.Is exist way to validate function by pass according value? If yes. How to do it?Thanks.
888
Views
0
Likes
1
Answers and Comments
Re: alert message pop up twice in IF statement 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.
1237
Views
0
Likes
0
Answers
Re: alert message pop up twice in IF statement 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.
1225
Views
0
Likes
0
Answers
alert message pop up twice in IF statement 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...
2214
Views
0
Likes
5
Answers and Comments
Re: cannot find sample in Adobe site 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.
1158
Views
0
Likes
0
Answers
how specify alert with setTimeOut() function 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.
933
Views
0
Likes
1
Answers and Comments
loop problem 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 ...
861
Views
0
Likes
1
Answers and Comments
cannot find sample in Adobe site 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.
1586
Views
0
Likes
3
Answers and Comments
array in global variable 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.
1721
Views
1
Like
3
Answers and Comments
Re: How to compare global variable value to TextField value 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.
1348
Views
0
Likes
0
Answers
How to compare global variable value to TextField value 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.
1831
Views
0
Likes
4
Answers and Comments
Likes given to