42bit srl
Recent activity
-
42bit srl replied to the topic Survey with more than 50 pages - link to specific page.
December 19 at 3:53 pm
Done - no problem.Just to clarify:in $pagination object you have all the data you need( you can find it in /layout/response/pagination.php )you have to put the page::id ( as for DB ) in the pid field and than submit the form ( #adminForm )If you use the aubmitAjaxForm with response.next, just remind that you will be redirected to the next one. ( if you choose id 6 you will get id 7).So you can: use the prev-id and than use nextBuild your own funzion on respons.json.php to handle the task -
42bit srl replied to the topic Survey with more than 50 pages - link to specific page.
December 19 at 3:07 pm
OK thanks.It is not a big deal to write some code but, just to be sure:If all i need to do is to change the "pid" value with the correct page id,if i build a select with all the page that i need and an onchange function that set the pid value and then callCjSurveyApi.submitAjaxForm(this, '#adminForm', 'response.next', 'onBeforeSaveResponse', 'onAfterSaveResponse');"will be ok ?The page_id value must be the DB::id page value ( i mean: colum id of the survey_pages table ) or the "page number" ( where page_id = 5 means give the the 5th page ) -
42bit srl created new topic Survey with more than 50 pages - link to specific page.
December 19 at 12:35 pm
Hi, i have to build a survey with 100 (or more) pages.3 answers per page.People will take the survey in 2 or more sessions so i need a way to "re-start" a survey and go to a spefic page ( could be any from 2 to 100 ) just clicking a link ( or selecting a specific page ) and without clicking x times "next" button.Is it possible ?How ?I have already activated the "show pagination" option, with no luck.Thanks
Powered by CjForum