Page 1 of 1

Survey

Posted: 18 Nov 2015
by chst
Found a thread where it is indicated that survey functionality is in the planning phase. Great! In the meantime, I am using Forms Designer to design a survey. I have the following problem:

I have created a list with 12 questions. The colum type for each question is 'Choice' with choices ranging from 1-10. Each question sits in a seperate tab.

I would like to have the choices listed horizontally instead of vertically e.g.:

Choice #1 Choice #2 Choice #3 Choice #4 ...

instead of

Choice #1

Choice #2

Choice #3

...

Is this possible?



Also, I have inserted a 'button' with the text 'Next Question' - How do I get the button to jump to the next tab?



Christian,

FLSmidth

Re: Survey

Posted: 18 Nov 2015
by rostislav
Regarding your first question see viewtopic.php?f=1&t=376

Regarding your second question:

Code: Select all

$('#fd_tabcontrol-0').tabs('option', 'active');
will return the index of the currently active (opened) tab in the first tab control (fd_tabcontrol-0 ID);

Code: Select all

$('#fd_tabcontrol-0').tabs('option', 'active', 0);
will activate the first tab in the tab control (indicies start with 0).



What your button will need to do is:

-check what tab is active

-set the next tab to be opened

Re: Survey

Posted: 18 Nov 2015
by chst
Perfect. Thanks a million ...