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

legallogic-DqvA
legallogic-DqvA
Offline

Badges

Badges
14

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
0

Posts

Posts
89

Discussions

Discussions
1

Questions

Questions
88

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by legallogic-DqvA
Customize the badges you want to showcase on your profile
long script sentences break even if valid syntax - Adobe LiveCycle 31-01-2010
hi i need to use some long sentences of code (example below) but the script panel rejects them at a certain length - can this be worked around i hope there is a simple way to have long sentences of code like the below without them breaking all the time??? example codethis.rawValue = "On a typical day I leave home for at " + work page10.page10posit.hm_wk_leavhome.rawValue + " and arrive at work at " + page10.page10posit.hm_wk_arve_wrk.rawValue + "." + " I leave work for home at " + page10.page10p...

Views

654

Likes

0

Replies

1
declaring (an setting var's values) from Switch event - Adobe LiveCycle 31-01-2010
H folks, I'm a syntax issue (I hope that's all) with how you declare and set var's values with switch statementsbelow is a commented version of what i'm attempting (which should clarify the issue)Var fav_colour; // i dont know where/how to declare these var's in a switchVar fav_food; //and so on letting me declare and manipulate values based on switch selection… switch (this.rawValue) { case "1": fav_colour.rawvalue = “blue”; fav_food.rawvalue = “Apples”; ///and so on to post variable values (wh...

Views

577

Likes

0

Replies

1
Re: Switch - using another fields rawValue - Adobe LiveCycle 26-01-2010
Ignore me; raided the scripting reference (and understood it for once.)thanks

Views

313

Likes

0

Replies

0
Re: Switch - using another fields rawValue - Adobe LiveCycle 26-01-2010
Thanks NIall, that got the switch statement aspect working Excuse the ignorance (I have an abundance) but if I attach it to the calculate event (which seems a good idea) what triggers that event/calculate to run the code... I suppose Im asking when and why that event type fires/is best used ?thanksGreg

Views

314

Likes

0

Replies

0
Switch - using another fields rawValue - Adobe LiveCycle 26-01-2010
Hi,Ive got the below code on a fields (not the worktype dropdown list's field) and want to use a switch statement to combine a variable and this fields rawValue with the variable being combined depending on the rawValue of the dropdown list - (the code below is commented to clarify what im trying to do)anyone know why this isn't working.....// this code is attached to the exit event a field called employname (the next field the user completes after the worktype list selection) switch (worktype.r...

Views

1.7K

Likes

0

Replies

5
Re: Using setFocus from a SWITCH statement - Adobe LiveCycle 26-01-2010
Hi steve,thanks for the hep earlier, i just have one other (hopefully simple question, if you can spare a few minutes) - namely can you/how do you attach a switch statement to a field (exit event) that uses the rawvalue of another dropdown list to determine what to do (another syntax issue i guess)...here's my issue/code: switch (worktype.rawValue)case "1": {page3.para5.rawValue = f1 + this.rawValue +".";} break;case "2": {page3.para5.rawValue = f1 + this.rawValue +"222222.";} break;case "3": {p...

Views

342

Likes

0

Replies

0
Re: Using setFocus from a SWITCH statement - Adobe LiveCycle 26-01-2010
perfect thanks

Views

338

Likes

0

Replies

0
Re: Using setFocus from a SWITCH statement - Adobe LiveCycle 26-01-2010
thanks steve,it seems to accept this syntax:case "5": page3.para1.rawValue = d1.value + " " + page2.datedisqual.rawValue + "in the " + page2.courtdisqual.rawValue + " District Court"; page3.para2.rawValue = d3.value; xfa.host.setFocus.page5.oneEBA;} but the setFocus event is having no effect -- no sure why (I suspect it's failing silently for some reason.... or can focus not be set multi pages down?) thanks

Views

337

Likes

0

Replies

0
Using setFocus from a SWITCH statement - Adobe LiveCycle 26-01-2010
HiIm trying to have my switch selections do a couple of things from one selection and am getting stuck on the correct syntax to usebelow is a code example of what i'm trying to do - but basically i need a selection case "2" say, to (1) set various fields values from variables (2) set the focus event to a field (that relates to the choice)here's an example of my (broken) code (orange below) - does anyone know the correct syntax for doing this? The field i want to force the focus/view to go to in ...

Views

1.1K

Likes

0

Replies

5
Re: how do you assign script (uppercase/sentence case) output to a variable? - Adobe LiveCycle 25-01-2010
Niall, That works perfectly. Thank you (once again) for the help (and patience with newbie errors).Cheers !

Views

623

Likes

0

Replies

0