Swipe left/right on JS Form
I have a JS form where I want to enter a header and lines:- choose a
course and add students.
I have a paged pane where the first page is for the header info (course
date etc), the second page is for the detail of one student, the third
page is for a list of students entered so far, and the fourth is to
finalise the entry.
What I want to do is – when the user swipes left or right on the details
page, I want to show details for the next or previous line in the list.
Does anyone have a really good hint how to trap the swipe left or right?
(Actually, I have it sort of almost working using another paged pane
nested inside the main one. I have that paged pane’s
$scrolltochangepage set kTrue. That at least captures the swipes. I
have the details fields all on pane 2, so when a left swipe goes back to
pane 1, I subtract 1 from the StudentList.$line and go back to page 2,
and similar for a right swipe. But I am having problems getting the
form to open properly and show pane 2…)
So the first question is, is there a better way to trap the swipes?
Manage your list subscriptions at lists.omnis-dev.com