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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

tehinternets
tehinternets
Offline

Badges

Badges
10

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
2

Posts

Posts
18

Discussions

Discussions
0

Questions

Questions
18

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by tehinternets
Customize the badges you want to showcase on your profile
Re: Most efficient way to loop through similarly named fields? - Adobe LiveCycle 27-01-2015
I have solved my issue. It took some battling in javascript using xfa.resolveNode.I have 5 pages, each consisting of a series of 60 fields named Viol1Num, Viol2Num, Viol3Num .... Viol60Num.If when this javascript runs, it detects a blank field, then insert a '3' into it.The below is the javascript which runs for the second page of this document. while (LoopCounter < 61) { if ((LoopCounter != 21) && (LoopCounter != 22)) { if((xfa.resolveNode("topmostSubform.Page2.Viol" + LoopCounter + "Num").rawV...

Views

368

Likes

0

Replies

0
Re: Most efficient way to loop through similarly named fields? - Adobe LiveCycle 27-01-2015
Thanks for the reply, however I'm still at a loss on how to implement what you're describing. My Concerns are:-My document seems to have 1 topmostSubform, and then 6 pages under. Adobe/LiveCycle structure on how things like this work is not my string suit. Would I have to have a subform for each page?-If referencing by subform, I don't want ALL fields on the page. There are many other fields not applicable to what I was asking on my original post and I wouldn't want to modify them; only a series...

Views

270

Likes

0

Replies

0
Most efficient way to loop through similarly named fields? - Adobe LiveCycle 22-01-2015
Hi,I have a 5 page document with each page containing appx. 50 similarly named fields. E.g. Viol1Num, Viol2Num, Vio3Num ... Viol50Num.I am looking for an efficient way of programming a loop to look at each field in Javascript so I can do some manipulations in those fields on what the user entered.In FormCalc I've previously used the 'foreach' function similar to:foreach (Field1, Field2, Field3.....Field50) do 'BLAH'endforhowever, that gets really lengthy, especially when dealing with subsequent ...

Views

676

Likes

0

Replies

3
How to handle 0 records returned via ODBC connection? - Adobe LiveCycle 20-10-2014
Hello, I am connecting my form via ODBC to an MS Access database with FormCalc XFA. I know that's not ideal, but it works. I am stuck however on how to handle errors when the form is not able to return a record due to a bad search string.Typically I am expecting one unique record to be returned, however at times there is no match based upon what the user has entered into the search field. I am trying to 'catch' the error and give them a custom message I write, or no error at all.My Data Connecti...

Views

228

Likes

0

Replies

0
Re: Best way to insert Degree symbol? - Adobe LiveCycle 02-04-2014
I ended up using a simple replace as I was mentining in my previous post so that if the inspectors types "blah blah blah at 51 deg blah blah blah" and then exits the field, FormCalc will replace the ' deg' with '°F' so that the text now reads "blah blah blah 51°F blah blah blag". I just need to train my inspectors to type in ' deg' exactly to have it relace it automatically.//Replace ' deg' with '°F' when user leaves this field.$.rawValue = Replace($.rawValue, " deg", "°F")

Views

3.4K

Likes

0

Replies

0
Re: Best way to insert Degree symbol? - Adobe LiveCycle 01-04-2014
Magnus, thanks for not giving up on this yet. In your last post that is making some progress, but there's also some con's too.1.) That's running off of an 'On Exit' even which inserts the ºF at the end of the text. In some cases that would work, but it others it would not work, like in this text field example of real data: "White fish was a 51°F. *Corrected* Witnessed manager throw away fish." With your proposed java, that would put the °F at the end of the line when it needs to be in the middle...

Views

3.1K

Likes

0

Replies

0
Re: Best way to insert Degree symbol? - Adobe LiveCycle 01-04-2014
Gotcha. As mentioned in my OP, we're aware of simply entering ALT+0167, however for computer illterare people who struggle with the concept of copy and paste, that's not really an option. I'm looking more for something easier for them to quickly insert the symbol.They are on laptops w/ a normal English keyboard, but they don't have full number pad. The num pad is shared on the keyboard with normal letter keys. To do it they've first have to FUNCTION+NumPad to enable it the number pad. Then ALT+0...

Views

3.1K

Likes

0

Replies

0
Re: Best way to insert Degree symbol? - Adobe LiveCycle 01-04-2014
Thanks for the reply Robert. That's good to know when it comes down to programming the actual generation of the symbol, but what I am asking is more about how the user would enter it. This form has many long text fields which hold more words than just the temperature. For example a use could enter into a field: "White fish was a 51°F. Corrected by throwing it away."How would the user easilly be able to inset the symbol while in the middle of typing that sentance?

Views

3.1K

Likes

0

Replies

0
Best way to insert Degree symbol? - Adobe LiveCycle 01-04-2014
Hello,I have an inspection form set up for restaurant/health inspectors. Often times during an inspection they need to enter temperatures of food and like to use the degree symbol. They're running this form on a convertible tablet pc, so a normal keyboard is not available to them in tablet mode and when in laptop mode using the combination of ALT+0176 that's still a PITA because the keyboard doesn't have full number pad and the people using this form aren't the most computer literate people out ...

Views

12.6K

Like

1

Replies

7
Re: Radio button showing and hiding a text field - Adobe LiveCycle 15-02-2013
Also, when I use Javascript to hide a field, instead of "hidden" I've sucessfully been using "invisible" instead. For example:Button3.presence = "invisible";I don't know much about it it though, "hidden" might work too. I agree with whyisthisme that using an on click event might be best and his if statement looks good. If you've confirmed that if your logic is working correctly, I'd try using invisible instead of hidden.

Views

446

Like

1

Replies

0
Likes given to
Likes from