3 slides for one item

PennController for IBEX Forums Support 3 slides for one item

This topic contains 3 replies, has 2 voices, and was last updated by Jeremy Jeremy 6 days, 9 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4026
    Avatar
    Mogli
    Participant

    Hey

    Is it possible to have for every Item (a single sentence) 3 scales? If so, how do I do this? If I try (as follows) to input more than one scale, the experiment does not work. Moreover try to name the scales, it does not work either.I tried the following commands:

    PennController.ResetPrefix(null);
    PennController(
    newText(“socialConext”, “One sentence.”)
    .print()
    ,

    newCanvas(“empty canvas”, 1, 40)
    .print()
    ,
    newText(“Item1”, “Ich weiß, dass die Gegend wegen des großen Festes abgesperrt ist.”)
    .settings.center()
    .settings.bold()
    .print()

    ,

    newCanvas(“empty canva”, 1, 40)
    .print()

    ,

    newText(“Bezeichnung”, “grammatikalität)
    .print()
    ,

    newScale(“grammatikalität”, 7)
    .settings.center()
    .settings.before( newText(“left”, “1 <br /> (am ungrammatischsten)”) )
    .settings.after( newText(“right”, “7 <br /> (am grammatischsten)”) )
    .settings.slider()
    .print()
    .settings.log()
    .wait()

    ,

    newScale(„akzeptabilität”, 7)
    .settings.center()
    .settings.before( newText(“left”, “1 <br /> (am ungrammatischsten)”) )
    .settings.after( newText(“right”, “7 <br /> (am grammatischsten)”) )
    .settings.slider()
    .print()
    .settings.log()
    .wait()

    ,

    newScale(„Nutzen”, 7)
    .settings.center()
    .settings.before( newText(“left”, “1 <br /> (am ungrammatischsten)”) )
    .settings.after( newText(“right”, “7 <br /> (am grammatischsten)”) )
    .settings.slider()
    .print()
    .settings.log()
    .wait()

    );

    I hope to hear from you soon.
    Thank you and Kind regards

    Mogli

    #4027
    Jeremy
    Jeremy
    Keymaster

    Hi Mogli,

    The problem seems to be coming from the names of your Text elements to the left and right of your Scale elements: they are duplicates in all three scales. Normally your code should still be functional but you should see an error message in the debugger, but as a matter of fact there I made an error when coding the error-throwing bit… I have fixed it for the next release.

    Replace “left” and “right” with “left2” and “right2” in the scale akzeptabilität and replace them with “left3” and “right3” in the scale Nutzen and it should work.

    Let me know if that solved your problem.

    Jeremy

    #4041
    Avatar
    Mogli
    Participant

    Hey Jeremy,

    thank you for your help. It solved my problem.

    Thank you

    Mogli

    #4042
    Jeremy
    Jeremy
    Keymaster

    Glad it worked! I release PennController 1.5 earlier this month, which no longer crashes from shared names (but still prompts a warning/error message). You can manually update your project with it, if you feel like it.

    Jeremy

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.