problem with branching and "other" element


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
No, I haven't figured out the issue -- the box shows up in every single test I've done.

I'm also not sure what the answers to my first question in my last response is, namely which Inquisit version you are using and whether you've made sure it's the same (and up to date) on all systems.

The only other thing I can suggest trying is including the "other" <textbox> element in the page's /questions attribute. That should force it to be visible from the get-go:

<survey demo>
/ screencolor = (grey)
/ pages = [1 = demographics1; ]
/ responsefontstyle = ("Verdana", 1.5%, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 2%, false, false, false, false, 5, 0)
/ itemspacing = 10%
/ showpagenumbers = false
/ finishlabel = "Next"
</survey>

<surveypage demographics1>
/ caption = "Please answer the following demographic questions"
/ questions = [1=idnumber; 2=age; 3=sex; 4=race; 5=raceother]
</surveypage>

<textbox idnumber>
/ caption = "Please enter your participant ID number, which is marked on the plastic bag you received with your t-shirt."
/ required = true
</textbox>

<dropdown age>
/ caption = "What is your age?"
/ options = ("18", "19", "20", "21", "22", "23", "24", "25", "26", "27","28", "29",
          "30", "31", "32", "33", "34", "35", "36", "37","38", "39",
          "40", "41", "42", "43", "44", "45", "46", "47","48", "49",
          "50", "51", "52", "53", "54", "55", "56", "57","58", "59",
          "60", "61", "62", "63", "64", "65", "66", "67","68", "69",
          "70", "71", "72", "73", "74", "75", "76", "77","78", "79",
          "80", "81", "82", "83", "84", "85", "86", "87","88", "89")
/ optionvalues = ("18", "19", "20", "21", "22", "23", "24", "25", "26", "27","28", "29",
          "30", "31", "32", "33", "34", "35", "36", "37","38", "39",
          "40", "41", "42", "43", "44", "45", "46", "47","48", "49",
          "50", "51", "52", "53", "54", "55", "56", "57","58", "59",
          "60", "61", "62", "63", "64", "65", "66", "67","68", "69",
          "70", "71", "72", "73", "74", "75", "76", "77","78", "79",
          "80", "81", "82", "83", "84", "85", "86", "87","88", "89")
/ required = false
</dropdown>

<radiobuttons sex>
/ caption = "What is your sex?"
/ options = ("Female", "Male")
/ optionvalues = ("0", "1")
/ orientation = horizontal
/ required = false
</radiobuttons>

<checkboxes race>
/ caption = "With what race/ethnicity do you identify? (Select ALL that apply)"
/ options = ("Caucasian", "Hispanic or Latino", "Asian", "Black or African American", "Native Hawaiian/Pacific Islander", "American Indian/Alaska Native", "Indian")
/ other = raceother
/ required = false
</checkboxes>

<textbox raceother>
/ caption = "Other"
/ textboxsize = (25%,5%)
/ required = false
</textbox>

vz29
vz29
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
"I think you are missing the fact that the box will only become visible *once the other option is actually selected*, which it is *not* in any of those screenshots."

i wasn't missing that fact ...
were you able to figure out the issue?

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
First you should make sure that all those systems are running the same, up-to-date Inquisit version. Otherwise any comparisons tend to be invalid.

Second, it remains entirely unclear from your response whether the box shows up on your system once the other option is selected. Does it or does it not?

vz29
vz29
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
I'm now back at my laptop, and confirmed the issue. Screenshot below.

Also, even though I specified to NOT require a response, if "other" is selected, you can't advance.

https://www.millisecond.com/forums/uploads/images/de96ecc3-9ae4-49a9-b06a-8935.png

vz29
vz29
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
Hm... I tested the script out on another computer. Even when I do NOT click on the "other" option, the text box appears. So, the problem doesn't show up on this computer. Here's the screenshot.... It does, however, persist on my laptop, and the laptop of another lab member...

http://www.millisecond.com/forums/uploads/images/f050cb5c-fe5b-4ea8-879f-d423.png

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Based on those screenshots I think you are missing the fact that the box will only become visible *once the other option is actually selected*, which it is *not* in any of those screenshots.

vz29
vz29
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
also, when I made the text box bigger, it still didn't solve the issue:

<textbox raceother>
/ caption = "Other"
/ textboxsize = (50%,25%)
</textbox>


vz29
vz29
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
I tried the latter and that didn't work. 

Here's the script:


<checkboxes race>
/ caption = "With what race/ethnicity do you identify? (Select ALL that apply)"
/ options = ("Caucasian", "Hispanic or Latino", "Asian", "Black or African American", "Native Hawaiian/Pacific Islander", "American Indian/Alaska Native", "Indian")
/ other = "Other:             "
/ required = false
</checkboxes>


<checkboxes senseofsmell>
/ caption = "Please tell us about your sense of smell. You may check more than one option if necessary."
/ options = ("I have a normal sense of smell", "My sense of smell is distorted, that is, things smell peculiar.", "I experience a smell when nothing is there (phantom smell).", "My sense of smell is heightened (hypersensitivity).", "My sense of smell is diminished (partial loss).", "My sense of smell is absent (complete loss).")
/ other = "Other:             "
/ required = false

here are the two screen shots:


https://www.millisecond.com/forums/uploads/images/01877887-04ad-4ee8-9718-47fe.pnghttps://www.millisecond.com/forums/uploads/images/e438ecf5-b725-4b61-b439-d15e.png

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
I am unable to reproduce that. Here's a screenshot of that code running on my system, as you can see the box is present:

https://www.millisecond.com/forums/uploads/images/3da4e43a-4046-49fc-bb1d-3429.png

Two things to try:
(1) Make the box larger still, i.e. increase /textboxsize further, OR
(2) Push the box further to the right outside the area of potential overlap by appending a bunch of spaces or tabs to the other caption:

<checkboxes race>
/ caption = "With what race/ethnicity do you identify? (Select ALL that apply)"
/ options = ("Caucasian", "Hispanic or Latino", "Asian", "Black or African American", "Native Hawaiian/Pacific Islander", "American Indian/Alaska Native", "Indian")
/ other = "Other:                                      "
/ required = false
</checkboxes>

Edited 9 Years Ago by Dave
vz29
vz29
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Awaiting Activation
Posts: 72, Visits: 192
Here's the script (the end tag didn't come through in my last post).

<checkboxes race>
/ caption = "With what race/ethnicity do you identify? (Select ALL that apply)"
/ options = ("Caucasian", "Hispanic or Latino", "Asian", "Black or African American", "Native Hawaiian/Pacific Islander", "American Indian/Alaska Native", "Indian")
/ other = raceother
/ required = false
</checkboxes>

<textbox raceother>
/ caption = "Other"
/ textboxsize = (25%,5%)
</textbox>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search