DROPDOWN DATE


Author
Message
HiWi
HiWi
Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)
Group: Forum Members
Posts: 3, Visits: 8
Hello,I am new to inquisit and I am having some difficulty programming a date to choose. Can I do this with the dropdown option?
I'd love to have: day-month-year and the best would be numbers-written month-e.g. 5-Aug-2015
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
Sure. You'd need three <dropdown> elements on your <surveypage>, one for the day, one for the month, one for the year.

<dropdown day>
/ caption = "Day"
/ options = ("01", "02", "03", "...", "31")
/ position = (5%, 10%)
</dropdown>

<dropdown month>
/ caption = "Month"
/ options = ("January", "February", "March", "...", "December")
/ position = (12%, 10%)
</dropdown>

<dropdown year>
/ caption = "Year"
/ options = ("2000", "2001", "2002", "...", "2015")
/ position = (25%, 10%)
</dropdown>

<surveypage mypage>
/ questions = [1=day; 2=month; 3=year]
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>


HiWi
HiWi
Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)
Group: Forum Members
Posts: 3, Visits: 8
Great thank you. And how can I get two questions onto the same page concerning the date so they don't block each other?
HiWi
HiWi
Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)Associate Member (291 reputation)
Group: Forum Members
Posts: 3, Visits: 8

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
You use the respective question elements' /position attributes to place them on the page as needed. See the example in my previous reply, which makes use of /position to place the three <dropdown>s side-by-side on the page.

Edited 9 Years Ago by Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search