since ‎25-08-2010
‎10-12-2019
yoyo112673
Level 1
Re: How to set a conditional date field value
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Thanks again... I guess I failed to mention that I have two date fields and they are actually calculated (the difference between one another)... So, the date as it displays with your code "DateTimeField1.rawValue = Num2Date(Date2Num("2014-01-25", "YYYY-MM-DD"))" loses its numerical value. Hence, the numerical value of Aug 19, 2014 (41869) is not "behind the scenes" to be calculated as oposed to when a date is picked using the picker. Also, I already have some JavaScript code on the change event ...

Views

349

Likes

0

Replies

0
Re: How to set a conditional date field value
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Thank you for your suggestion. I have already tried that but the issue with doing it that way is that the date field does not "like" the way the data is assigned to it. It gives me an error when I select "yes" that says "The value I entered is invalid". I can choose to ignore it and it does place the text as I put it in the code (format does not apply). However, it seems that replacing "plain text" into a date field is not 100% compatible...

Views

343

Likes

0

Replies

0
How to set a conditional date field value
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hello,I've been trying to figure out how to set a date field to a specific value based on a conditional field.I have a radio button with two options (yes & no). So, I want the date field to take on the value of "Aug 19, 2014" if the option "yes" is selected. Otherwise just allow the user to pick the date....Thank you!!!

Views

1.5K

Likes

0

Replies

4
Mandatory Fields on an expandable Table
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I've created an expandable table which contains one mandatory field that is triggered by a button click. MealCard.CardInfo.CardRange.PCS_ID.mandatory = "error"; By default the field is not mandatory but the click makes the field mandatory. So, when the button is clicked it triggers the red border around the field and if the field is NOT empty, it works fine, and if the field is empty, then it triggers the message saying that "At least one required field is empty..........). So far so good. Ho...

Views

379

Likes

0

Replies

0
Acrobat XI Pro and LiveCycle Designer
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I currently have Acrobat X Pro (LiveCycle Designer ES2) installed in my machine and I wanted to install Acrobat XI Pro. However, I read that LiveCycle Designer is not part of the Acrobat XI Pro, and I was advised to uninstall Acrobat X before attempting to install XI Pro. My predicament is that I don't want to lose LiveCycle by uninstalling the Pro X version since the Pro XI does not have it. I also read that there is a new version of Adobe LiveCycle Designer (ES3), and I'm not sure if this i...

Views

2.5K

Likes

0

Replies

1
Re: Adding Numbering to Text Box
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,Just the number. I already have a default text there as it never changes so the user of the form would always have to start at "3". So, with every time the user hits the return key, the following number gets added, and it'd be awesome if deleting a number would make the rest of the number to adjust accordantly. Just like you would see in MS Word.1. Some text2. Some text3.4.5.THANK YOU!!!!

Views

244

Likes

0

Replies

0
Adding Numbering to Text Box
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi!I have a text box that shows a default text as follows:1. Some Text 2. Some TextHowever, I want be able to write a scrip that will increment the number by one each time the user hits enter. Just like it works on a Text editor such as MS Word.Thank you!!!

Views

1.0K

Likes

0

Replies

3
Re: How to expand rows in a table by calculated value of a field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Awesome!!! Thank you very much!!

Views

263

Likes

0

Replies

0
Re: How to expand rows in a table by calculated value of a field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi Niall,Thank you for your help. The field (TotalDays) I'm having problems with is located on the first page and I'd like it to trigger the number of rows to be displayed on the table located on subform called Admin_Use. Table3, row1. So, in order words, if the number of night on the TotalDays field is 4, I want the table to show 4 instances (rows).I have uploaded the form here (see below). THANK YOU SO MUCH!!!!https://acrobat.com/#d=Eqbhf-wjPi7Q-6bot9VsLQ

Views

252

Likes

0

Replies

0
Re: How to expand rows in a table by calculated value of a field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi Niall,Thank you for your reply. I'm still a bit puzzled as right now I have this code in my calculate field (see below) under the calculated event and I'm not sure how to insert the code you sent me as I keep getting syntax errors. Any help will be greatly appreciated!!!if (HasValue(Nights.FirstNight) & HasValue(Nights.LastNight) ) then if (Date2Num(Nights.LastNight, "YYYY-MM-DD", "en_IE") >= Date2Num(Nights.FirstNight, "YYYY-MM-DD", "en_IE")) then $ = Date2Num(Nights.LastNight, "YYYY-MM-DD",...

Views

245

Likes

0

Replies

0
How to expand rows in a table by calculated value of a field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I'm trying to set the rows of an expandable table to follow the calculated value of a field.The calculated field comes from two date fields that calculate the number of days and I want my table/row to expand based on that number..Is is possible? Right now I have a button that does add an instance "Admin_Use.Table3._Row1.addInstance(1);" but I want it to be triggered by the calculated field instead...Thank you so much!!!!

Views

1.1K

Likes

0

Replies

6
Re: Inheriting values on expanding tables
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Thank you Bruce!!! Not only I was using the wrong event but also I was placing the code on the wrong field....

Views

382

Likes

0

Replies

0
Inheriting values on expanding tables
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I have a dropdown field (FlatRate) whose rawValue sets/triggers the value & access of another dropdown field (BillStudent) that resides in an expandable row of a table. However, I want any extra instances/rows that are added to the table to inheret the value set by (FlatRate) when adding more rows.What I have right now is the following where "Admin_Use = Form Name, Table3 = Name of Table, Row1 = Explandable Row, and BillStudent = dropdown field residing in the row.Under the "exit" Eventif( Fl...

Views

804

Likes

0

Replies

2
Re: Conditional statement with calendar field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,Thank you very much!! it works great!! I do have one more question though, How do you know that the value "41123" is equal to August 3, 2012? I tried to figured out but I couldn't... I just want to know so I can apply it to any date....Thanks a billion!!!

Views

256

Likes

0

Replies

0
Re: Conditional statement with calendar field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,Thank you for your reply. I'm not familar with the Date2Num function and I'm not 100% sure how to write the sintax. Would you mind helping me? What I need is to write a code that will prevent users from picking a date before Aug 03, 2012. And I also have another date field where I have to apply the same restriction scenario but also need to prevent them to pick a day past Aug 10, 2012.Thank you very much for your help!!!!J

Views

253

Likes

0

Replies

0
Re: Drop down lists
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,You can do the following under the validate event. Also, make sure you do specify item values under the Binding tab of the dropdown field..if (this.rawValue == 1) { xfa.host.messageBox ("That account Number is not valid.","Invalid Acct Number",0); this.rawValue = null}

Views

241

Likes

0

Replies

0
Conditional statement with calendar field
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I need to set a condition on a calendar field (ArrivalDate) that enforces users to only pick certain date from the calendar. Otherwise, it will give them a message and clear the calendar. Also, I need to set up another condition with "in between" but I'm not sure how to set these up.THANK YOU FOR YOUR HELP!!!J

Views

1.3K

Like

1

Replies

5
Re: Assigning a password to display a hidden form
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,Thank you for your reply. I'm not a pro on this so I would need a bit more help I need to be able to prompt for a password and only the correct response would display the hidden form.... Is there anyway you could provide me with the code?Thank you!!!!

Views

361

Likes

0

Replies

0
Assigning a password to display a hidden form
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I'd like to set up a password prompt to make a form that is hidden into visible. What I have is a form with 2 pages. Page 1 has all the fields that the user has to fill out, and page 2 is for admin use only. I have placed a radio button at the end of page 1 with the text "Admin use only". which when clicked, it makes the 2nd page visible. However, I wanted to add a layer of security so that if the user clicks the radio button, it would prompt them to enter a password in order for the Admin on...

Views

1.1K

Likes

0

Replies

3
Re: How to make Expanding Fields mandatory
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi Srini,Again, thank you very much for you response. However, it still does not work. It makes the first row required but when I click the button to add another row, the new row gets added without the red frame around the fields.I appreciate all your help!!!J

Views

226

Likes

0

Replies

0
Re: How to make Expanding Fields mandatory
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi Srini,Thank you for your reply. That's correct!! The repeating row is called "Info". this is how it goes. Extras = subform, Participants = Table name, Info = Row name. However, when I pasted your code it did not work. The form (Extras) was not even displaying..Is there something I may have missed?Thank you for your help!!!

Views

227

Likes

0

Replies

0
Re: How to make Expanding Fields mandatory
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,Thank you for your reply. Actually, the fields are conditional to appear by clicking on a radio button (I should have included that in the original code. see below for full code). I only want them to be required if they are visible. Making them required under the value tab will prevent the form to be submitted even if they are invisible. What the code I sent in my previous email is lacking is the ability to make any new instances required. When the radio button is selected, it displays the ta...

Views

227

Likes

0

Replies

0
How to make Expanding Fields mandatory
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I'm trying to make an expandable table whose fields are mandatory if a selection to make the table visible is selected.For instance, if the user selects "Yes" to a radio button, the table becomes available showing 4 rows that I want to make mandatory ONLY if the table is visible. I have accomplished that by entering the following codeif (this.rawValue == "1") {Extras.Participants.Info.Last.mandatory = "error";Extras.Participants.Info.First.mandatory = "error";Extras.Participants.Info.IUID.man...

Views

1.5K

Likes

0

Replies

6
Click function on a button
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I'm trying to create a button that would make a subform invisible when clicked and visible once it's clicked again. I usually use radio buttons to accomplish this under the change function (see below) BUT this time I want to use a button. Thank you very much for your help!!!!if (this.rawValue == "1") {InvoiceBilling.presence = "visible";InternalBilling.presence = "hidden";}else {InvoiceBilling.presence = "hidden";InternalBilling.presence = "visible";}

Views

463

Likes

0

Replies

1
Changing the color of Buttons back and forth
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,I've created a form and I have placed a button that I need to change color and text once clicked. The problem I have is that I want to make a second click to make the button go back to the previous state. So, basically the button should have two "stages". At first it should appear white and the caption on it should read something, and once I click, the color and caption should change but I want to be able to make go back to its original state by cliking on it once again.I have used the follow...

Views

630

Likes

0

Replies

1
Submitting Forms without email programs
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; ms...

Views

326

Likes

0

Replies

0
Exporting Expandable Tables
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; ms...

Views

441

Likes

0

Replies

1
Enable User Rights In Adobe Reader using Acrobat X
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hello,I just upgraded to Acrobat X Pro from Acrobat Pro 9 and I'm still getting familiar with it. I need to Enable User Rights In Adobe Reader but I noticed that the tool bar does not have the "Advanced" option where Acrobat Pro 9 has it.Can you please tell me how to go about it.Thank you much!!!

Views

7.0K

Likes

0

Replies

3
Acrobat X vs. Acrobat Pro Extended
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi, Currently I have Adobe Acrobat Pro Extended 9.0 installed in my machine and I am a heavy LiveCycle Designer user. I was wondering if I could install Acrobat X without uninstalling the current version in my machine (Acrobat Pro Extended). Also, if I do have to uninstall Acrobat Pro Extended 9.0 in order to install Acrobat X, does that mean I'd lose LiveCycle Designer, or is LiveCycle part of the Acrobat X package too? Thank you for your help

Views

1.3K

Likes

0

Replies

1
Re: When saving a form, how to use field content to set the name of the file?
Avatar

yoyo112673

yoyo112673
- Adobe LiveCycle
Hi,Did you ever get a solution on this one? I have the exact same situation and I have not been able to find the answer.Thanks!!!!

Views

147

Likes

0

Replies

0
Likes given to
Likes from