Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

cclay53
Community profile cclay53 Level 2
Job title here
Location here
8 BADGES
Level 2

Level 2

Learn more
Joined the community 13-12-2011 6:52:07 PM
Offline
Top badges earned by cclay53
Customize the badges you want to showcase on your profile
Time Calculations in a Table
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I am creating a new timesheet Which uses a table with a add time/remove time buttons. The basic table has a Time In row and a Time Out row. In the footer row Itotal each day. That is no problem as i am using the same script I use in other forms.The problem occurs is when you click the Add Time button and now another instance of the Time In and Time Out rows are added. How do I now calculate that time and add the 2 together. I can add up to an additional 2 instances. Below is my script for just c...

Views

473

Likes

0

Replies

0
Re: Dropdown List
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
ok. That doesn't seem o work. But what i did do is move my script from a change event to exit and it works-Thank you.Craig

Views

1.3K

Likes

0

Replies

0
Re: Dropdown List
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
Ok new information.If i choose an item and then choose it again it will load properly.

Views

1.3K

Likes

0

Replies

0
Dropdown List
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I have dropdown list that contains 8 items. The values are obviously 1-8 and refer to subforms.In code I haveif (this.rawValue ==(1) { BaggerSub.presence="visible";}elseif if (this.rawValue == "2"){ BaggerSub.presence = "visible"; ZipperSub.presence = "visible";endifThe problem is if I select item 1 on the list nothing happens. If Iselect item 2, then the script for item 1 works. If I select item 3 thenthe script for item 2 works.I have the scripts in change. Any suggestions of where I went wron...

Views

1.8K

Likes

0

Replies

3
Re: Hiding Cell Value in a Table
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I tried using this.parent and that did not work. So I named the cells in row 7 and then used this.rawValue= in the calculate field with the other script in the layout ready field.and that worked except it hides the entire cell not just the value, So I have an entire row of cells in the table that has no borders unless there is a value in it. I again made a code change. Instead of using this.presence = "hidden", I changed it to this.rawValue = "" and it worked. Thank you for all your help. It is ...

Views

636

Likes

0

Replies

0
Re: Hiding Cell Value in a Table
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I started with this line of code because I need to establish what the raw value is. Correct? And this works it totals up the 2 cells and puts their sum in this cell.So I added the code you suggested and changed the type to numeric field and that cell shows no values. this.rawValue=(Row6.ph2 + Row7.Cell3)if (this.rawValue <8) { this.presence = "hidden";} else { this.rawValue = this.rawValue - 8; this.presence = "visible";} ThanksCraig

Views

636

Likes

0

Replies

0
Re: Hiding Cell Value in a Table
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I am taking a calculated value from a cell and adding it to a entered value from another cell. If that sum is less than 8 i do not want the value showing. If the value is greater than 8 then I want that sum minus 8 to be shown. Also does this need to be a text or numeric field?Thanks.

Views

634

Likes

0

Replies

0
Hiding Cell Value in a Table
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
If a cell in a table is less than a certain value how do you make that hidden? Which then also means if a cell value is greater than a certain value it can be seen.

Views

4.1K

Likes

0

Replies

7
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
Perfect!!!!!! This works great! I also remembered what you said earlier about the check boxes. I removed the Does Not Apply Boxes since they are not needed and then changed the code to make sure the other boxes are unchecked under the rectangle.Thank you so much for your help.I also had to go to docReady and add hcgray.resolveNode("value.rectangle.#fill").presence = "hidden";so that the page opened with the rectangle hidden. If not you had to cycle the check box 1 time to uncover.Message was edi...

Views

287

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I changed the code as you suggested and it works as predicted, however the text never shows because the screen is either gray or white. Considering your input on changing presence and doing a color change, would there be a way to go from the color fill to no fill? I am very new at this so have to ask alot of questions.

Views

251

Likes

0

Replies

0
Calculating overtime
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I have an expense report and I calculate the overtime but if there is no time entered for that day I don't want to see a zero or -8 in the overtime cell. ph3 value is from a calculation and Row7.cell4 is entered and both are set as numeric fields and this cell is text field. Also, either ph3 or cell4 could have no value entered or they both could have values. if (Table1.Row6.ph3 <😎 { this.rawValue = null;if (Table1.Row6.ph3 + Table1.Row7.Cell4 >8); this.rawValue = (Table1.Row6.ph3 + Table1.Row7...

Views

419

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
Ok. Go to http://www.cclinksonline.com/form.html andthe entire form is available. The checkbox in question is on page 6. It is the first install checkbox.

Views

251

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
Forgot to add this last post. The issue is, if I check the installed checkbox everything works properly. However if I decide to uncheck that box it will not uncheck.Also, I have this code on several other items on this same form, not as long, usually only a couple of lines, and some of them work (check/uncheck) and some only allow you to check and not uncheck.

Views

252

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I am using this on an equipment audut form. I have a checkbox that is labeled installed. Normally the box is unchecked and the sfrhc lines are grayed out (sfrhcgray) and the Does Not Apply checkboxes (sfrhc1,2,3) are checked. If you click that box it grays out the hc part and sets the Does Not Apply check boxes and ungrays(?) and unsets the checkboxes for sfrhc.

Views

254

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I reset my code to rawValue. It works fine except the same problem - once I check the box (this.rawValue == 0) it will not allow me to uncheck it.

Views

256

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
Yes. The hc and sfrhc 1,2,3 are checkboxes and the hc sfrhc gray are rectangles. This actually worked before I added the hc items.

Views

253

Likes

0

Replies

0
Re: Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
Sorry. I retyped my code on this page because I could not get it to copy. Just a typo on this page.

Views

252

Likes

0

Replies

0
Checkbox will not uncheck
Avatar
Give Back 10
Level 2
cclay53
Level 2

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Give Back 5
Give Back 3
Ignite 3
View profile
cclay53
- Adobe LiveCycle
I have the following checkbox code:if (this.rawValue == 0){ hc1.value.integer.value=0; hc2.value.integer.value=0; hc3.value.integer.value=0; hcgray.presence = "hidden"; sfrhc1,value.integer.value=1; sfrhc2.value.integer.value=1; sfrhc3.value.integer.value=1; sfrhcgray.presence = "visible";}else{ hc1.value.integer.value=1; hc2.value.integer.value=1; hc3.value.integer.value=1; hcgray.presence = "visible"; sfrhc1,value.integer.value=0; sfrhc2.value.integer.value=0; sfrhc3.value.integer.value=0; sfr...

Views

6.1K

Likes

0

Replies

15