General Question

4 views
Skip to first unread message

James Ferguson

unread,
Jan 30, 2012, 12:34:32 PM1/30/12
to phonegap
Hi Guys-

This question is really more of a programming question than a phonegap
specific question, if you can help great, if not no worries...

So I have an app that contains multiple variables for the order that
the app must follow. There is no way to know from the source what the
order should be, but each select list is dependant on the previous.

The problem is we have no idea what the order will be. I though of
doing conditional statements, but this can be very long and again not
sure what select list we will even be getting to get the next.

I also thought of creating a logical flow table in the DB to create
every conceivable list and what the dependancy might be, but this also
may be a half solution..

Ideas>

Thanks for help or ideas in advance.
James F.

WebSteve

unread,
Feb 7, 2012, 12:07:12 PM2/7/12
to phonegap
The key phrase seems to be "each select list is dependant on the
previous." If so, it seems that each choice should be written to a
database as made, then written into the select list. Then you won't
need to know what the order is going forward if all you want is a list
of what went before.

Steve
Reply all
Reply to author
Forward
0 new messages