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
  • 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 da...

    Type

    Questions

    Views

    677

    Likes

    0

    Replies

    1
  • 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 let...

    Type

    Questions

    Views

    599

    Likes

    0

    Replies

    1
  • 26-01-2010
    Ignore me; raided the scripting reference (and understood it for once.)thanks

    Type

    Questions

    Views

    364

    Likes

    0

    Replies

    0
  • 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 ?thanksG...

    Type

    Questions

    Views

    365

    Likes

    0

    Replies

    0
  • 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...

    Type

    Questions

    Views

    1.8K

    Likes

    0

    Replies

    5
  • 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)....

    Type

    Questions

    Views

    398

    Likes

    0

    Replies

    0
  • 26-01-2010
    perfect thanks

    Type

    Questions

    Views

    394

    Likes

    0

    Replies

    0
  • 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 s...

    Type

    Questions

    Views

    393

    Likes

    0

    Replies

    0
  • 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...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    5
  • 25-01-2010
    Niall, That works perfectly. Thank you (once again) for the help (and patience with newbie errors).Cheers !

    Type

    Questions

    Views

    759

    Likes

    0

    Replies

    0
Top badges earned by legallogic-DqvA
Customize the badges you want to showcase on your profile