since ‎20-08-2009
‎10-12-2019
djaknow
Level 4
Re: TOOL TIP is not working!!
Avatar

djaknow

djaknow
- Adobe LiveCycle
The resize code you want has already been posted in one of your other posts, here's a link:http://forums.adobe.com/message/3890035#3890035

Views

112

Likes

0

Replies

0
Re: TOOL TIP is not working!!
Avatar

djaknow

djaknow
- Adobe LiveCycle
I can't say definitely that yes, no tooltips for readOnly fields is the norm, but it makes sense. If the user isn't typing into the field, I'm not sure why the field would need a tooltip but I'm sure you must have your reason.Good luck,djaknow

Views

145

Like

1

Replies

0
Re: TOOL TIP is not working!!
Avatar

djaknow

djaknow
- Adobe LiveCycle
You could create an invisible field with the tooltip text you desire, send it to the back, and then on mouseenter of the field you want the tooltip for you just make the tooltip field visible and then make it invisible again on mouseexit.on mouseenter:this.presence = "visible";on mouseexit:this.presence = "invisible";I've used this method in the past to pop up half page instruction sets.djaknow

Views

116

Like

1

Replies

0
Re: Redirect user to another section and get back user to original section back?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Hi Niall,The popup menu is REALLY a nice feature, I hadn't seen that before. Thanks for posting.djaknow

Views

128

Likes

0

Replies

0
Re: Add the word "draft" at a 45 degree angle
Avatar

djaknow

djaknow
- Adobe LiveCycle
I resolved this by creating an image of the text I wanted in photoshop and then placing it in an image field, making sure to send the image boilerplate to the back.

Views

138

Likes

0

Replies

0
Re: Subforms and height
Avatar

djaknow

djaknow
- Adobe LiveCycle
As long as the form is performing the way you want it to, there's no need. I'm just happy it's working for you.

Views

160

Likes

0

Replies

0
Re: Subforms and height
Avatar

djaknow

djaknow
- Adobe LiveCycle
Well, you'll still have a subform on the page no matter what; you mentioned earlier you had limited space for printing, is the table the only object on the page or do you have other items there as well? It sounded like you still need the table to expand only so far so I thought you might have other fields in their own subform? Without seeing the form I'm just taking my best guess.

Views

151

Likes

0

Replies

0
Re: Dynamically populating a text field on the Master Page
Avatar

djaknow

djaknow
- Adobe LiveCycle
That's it exactly, is that not what you were expecting? I'm confused lol

Views

653

Likes

0

Replies

0
Re: Dynamically populating a text field on the Master Page
Avatar

djaknow

djaknow
- Adobe LiveCycle
Just as an fyi, I think the index # is zero based while the count is not, which might explain why it would move one position down from where you expected?

Views

591

Likes

0

Replies

0
Re: Dynamically populating a text field on the Master Page
Avatar

djaknow

djaknow
- Adobe LiveCycle
To have an instance appear somewhere other than the bottom when added, you can use the moveInstance function, i.e. -_row1.addInstance(true);_row1.moveInstance((_row1.count-1), newIndexPosition);where _row1.count-1 is the newly added row and newIndexPosition is where you want the new row to end up.

Views

592

Likes

0

Replies

0
Re: Subforms and height
Avatar

djaknow

djaknow
- Adobe LiveCycle
The table itself will not have any options to repeat. This makes sense, since you wouldn't want to add the entire table each time, you only want to add another row. If you click on one of the rows in your hierarchy, you'll see the options you're looking for.

Views

172

Likes

0

Replies

0
Re: Subforms and height
Avatar

djaknow

djaknow
- Adobe LiveCycle
Even thought the table is dynamic you can still control how many rows maximum the user can have. If I understand you correctly, all you should need to do is set the maximum number of rows to make sure it fits within area you have available for printing. So if your row height is .3" and you have 1.5" available for printing, you can only have a maximum of 4 rows (assuming a header height which is also .3"). Make sense?

Views

140

Likes

0

Replies

0
Re: Visible/hidden depends on limited character
Avatar

djaknow

djaknow
- Adobe LiveCycle
On the "full" event of TextField_1 you can use:TextField_2.presence = "visible";xfa.host.setFocus(TextField_2);Be aware that the 21st character will be lost, but the 2nd field will become visible and the cursor will appear there. Is this an option?

Views

138

Likes

0

Replies

0
Re: Interactive form - drop-downs?
Avatar

djaknow

djaknow
- Adobe LiveCycle
For javascript you can also use:var str = this.rawValue;this.rawValue = (str.substring(0,3));on the exit event of the drop down list. It simply returns the first 3 chars of whatever gets typed into the field.

Views

110

Likes

0

Replies

0
Re: Linked Drop Downs
Avatar

djaknow

djaknow
- Adobe LiveCycle
Hi Ken,Did you share that document? When I click on the link it says the doc either doesn't exist or I don't have access to it.djaknow

Views

144

Likes

0

Replies

0
Re: Control presence - function change with platform
Avatar

djaknow

djaknow
- Adobe LiveCycle
You might get a better response if you were to upload the form somewhere and post a link, it would be helpful to be able to see the form and look at how you've got the fields in question set up. Other things that might help, which version of Designer did you use to create the form? What's the target version the form is set to? If you can strike a balance between giving more info and not writing a book it helps a lot.djaknow

Views

151

Likes

0

Replies

0
Re: How do I create an "add row" button and increasingly go on numbers area.(Numeric Field)in LiveCycle
Avatar

djaknow

djaknow
- Adobe LiveCycle
this.rawValue = this.parent.parent.index + 1;This is how I got it to work.

Views

157

Likes

0

Replies

0
Re: Problem for Form Cal
Avatar

djaknow

djaknow
- Adobe LiveCycle
Did you ever get an answer for this?

Views

187

Likes

0

Replies

1
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Good morning Kathleen,I sent you the updated form a few minutes ago, the totals and average now work properly in the new section. The values in the drop downs needed to be converted from strings to numbers in order for the calculations to work.Good luck,djaknow

Views

307

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
No problem. I'll send you an email tomorrow morning, hopefully with the form attached and working properly. If it's not working exactly right you'll have an answer why.Dave AllenIS TechKane County Circuit Clerk630.208.2151

Views

306

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Ok, I'll have a look at it tonight at home when I have more free time. I'm not sure what could be causing the problem with the calculation in the table so it may take a bit of time to go through everything. Will it be a problem if I make changes in the hierarchy? The form will look exactly the same, it's just a little cluttered (please don't take offense, compared to my rookie forms it's actually quite good) in the hierarchy.One thing about saving the form to a lower version, you don't want to g...

Views

304

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Hi Kathleen,I think this form may be corrupted. The sums in the table are giving me problems no matter what I do. Most of the issues you were getting errors on were simple case mismatches (i.e. - goalcount instead of goalCount) but something definitely appears wrong with the table. Has this form been worked on by one person or has it been passed among several people? Just wondering, if several people have worked on it, if everyone's on the same version of Designer?Dave AllenIS TechKane County Ci...

Views

310

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Sure, I'll take a look and see what I can do. If I have questions I'll shoot you an email.

Views

309

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Hi Kat,I've made a change to the form I sent you yesterday and emailed it to you, the error is taken care of.

Views

306

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
That's not one of the scripts I added so I'm not sure where it is on your form, but I see that it's calling out a division by zero so there must be something wrong with your TOTALESSENTIALduties field or variable. Whatever TOTALESSENTIALduties is, it should have a 2 in it right from the start because you have 2 duties filled in by default.

Views

313

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
It's not a problem, I added the fields that were missing and sent the form back to you. The totals and averages now work and I put a couple of examples of checking to see whether or not previous fields had been filled in. Hope it helps.djaknow

Views

307

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Please send me the form atallendavid@co.kane.il.us. I'll get it fixed up for you and send it back and then you'll have the code as a sample for future reference.

Views

308

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
Again, you'd be doing a check for null, i.e.:var dutyCount = 0;if (Duty1.rawValue != null){ dutyCount = dutyCount + 1;}if (Duty2.rawValue... etc.this.rawValue = dutyCount;This script would go on the calculate event of the "Enter Total Number of Essential Duties and Responsibilites". It'll display the number of non-blank Duty fields. The!= symbol means not equal to in javascript.

Views

309

Likes

0

Replies

0
Re: How can I count only text fields that have been used?
Avatar

djaknow

djaknow
- Adobe LiveCycle
You could do a simple check for null and increase a counting variable if there's a value in the field. Here's a sample:var goalCount = 0;if (field1.rawValue != null){ goalCount = goalCount + 1;}if (field2.rawValue != null){ goalCount = goalCount + 1;}if (field3.rawValue... etc.this.rawValue = totalPoints/goalCount;where totalPoints is a sum of the values in the goal fields. This script is javascript and should be placed in the calculate event of the field showing your average score.

Views

309

Likes

0

Replies

0
Re: Button to click on to move to another section in same document?
Avatar

djaknow

djaknow
- Adobe LiveCycle
You can use the Page Navigation subform in your Custom library if you just want to go to the top of a particular page but if you'd like to be able to go to sections within pages you can set the focus to any field that accepts input, i.e. a text field or drop down list. On one particular form, I made each header a text field, typed in the heading as the default value and then set the field to protected. I was then able to simply set the focus to the header using the script:xfa.host.setFocus("form...

Views

138

Likes

0

Replies

0
Likes given to
Likes from