For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 45 replies, 3 voices, and was last updated 12 years, 10 months ago by
support-octavio.
-
AuthorPosts
-
August 28, 2012 at 8:11 am #329600
adikateMemberOctavio, I think u got confused with my post. Let me make it precise and understandable.
If I press YES in screen1 and NEXT in screen2,screen3 then I need to get in screen 4 as wrong selection
If I press NEXT in screen1,screen2,screen3 then I need to get in screen4 as blank screen(not the previous answer wrong selection )What ever the text answer I got on screen4 should be cleared(erased from memory) once I goto to my app home screen(screen1) . Hope it make you clearer Octavio.
August 28, 2012 at 1:39 pm #329606
support-octavioMemberHi adikate,
OK, so, that I understood is if user push next button in any screen the result on last screen should be incorrect (a empty string?) Once user go to other screen, would he be able to return previous screen? Also please let me know if I need to know anything else for don’t change again the code.
August 28, 2012 at 2:08 pm #329607
adikateMemberHello Octavio first of all i thank for the support.
If i push next button in any screen the result on last screen(screen4) should be an empty string or a message which says ‘please make a valid selection'(whichever is convenient).
If i push YES or NO button in any screen and NEXT Button in any screen then also i need the result on last screen(screen4) should be an empty string or a message which says ‘please make a valid selection’.
yes i can return to previous screen(Back Button) for screen1,2,3 but the last screen(screen4) where the results is displayed do not have a Back Button.
So i need to definitely select YES or NO in all the screens to get the desired output on last screen(screen4). If i omit any screen/screens by pressing NEXT then i need to get an empty string or a message which says ‘please make a valid selection’. Hope this makes clearer to you Octavio, if u want more information i can give..September 8, 2012 at 9:11 am #329983
adikateMemberOctavio any progress with my app
September 11, 2012 at 12:14 pm #330046
adikateMemberOctavio as u told not to do more tweets so I kept silent but its been 2weeks waiting for the solution from you to my problem. I need to finish the app asap.
September 11, 2012 at 1:13 pm #330048
support-octavioMemberHi adikate,
We have been very over loaded with support cases in the last month, give me a couple hours to propose you a workaround for today or tomorrow early.
September 12, 2012 at 6:17 pm #330103
support-octavioMemberHi adikate,
I did a few modifications to your modified project that I shared with you previously, it includes two screens and the result screen, but the logic is the same for 4,5,6, …
First thing you should know. The Next and YES/NO buttons should have next actions:
Screen1
Yes: ans1 = “YES”;
No: ans1 = “NO”;
Next: gotoScreen(1,ans1);Screen2
Yes: ans2 = “YES”;
No: ans2 = “NO”;
Next: gotoScreen(2,ans2);and the same for screen 3,4,5…
The most significant change that I did on gotoScreen function is:
else text = "ERROR";
After the comparations:
if(ans1=="NO"&&ans2=="NO") text = "YELLOW"; ... ... else if(ans1=="YES"&&ans2=="YES") text = "WHITE"; else text = "ERROR";
With this you should be able to create your app as you state in your requirements. Let me know if you have any setback.
Attachments:
You must be logged in to view attached files.September 14, 2012 at 6:05 am #330153
adikateMemberOctavio only the next button is working but when i click on either YES or NO its not going to next screen. Been working since yesterday but i cant…
September 17, 2012 at 11:55 am #330225
adikateMemberOctavio i downloaded the zip file and only the next button is working but when i click on either YES or NO its not going to next screen.
September 17, 2012 at 2:48 pm #330230
support-octavioMemberHi adikate,
I understood that buttons YES/NO shouldn’t have an action to go next screen, that’s why the NEXT button, I see I’m wrong. Anyways, is very easy add this functionality, just ADD next code for each YES/NO button on screen:
gotoScreen(1,ans1);
YES/NO Button screen 2
gotoScreen(2,ans2);
September 17, 2012 at 3:56 pm #330232
adikateMemberOctavio everything working fine except a small mistake
when i press NEXT in screen1 and YES/NO in screen2 its not showing an empty string (in the code u given an empty string as ERROR) instead displaying the items (BLUE,GREEN,etc)
Rest of app is fine. Waiting for the reply were the problem is …September 17, 2012 at 4:16 pm #330233
support-octavioMemberPlease ensure that you didn’t miss to change a number on the actions of buttons. Or maybe we didn’t think the same, for me the error is shown when you go to last screen. Note that you can add a condition on the action of next button, if the answer of current screen is empty you can show an alert to state the error and if is OK call the gotoScreen function.
September 18, 2012 at 7:57 am #330259
adikateMemberOctavio v both think in same manner. If u don’t mind can u please again post my zip file and also suggest me on how to use condition as u stated for my next button. Hope that my app is in final stage
September 20, 2012 at 10:36 pm #330343
adikateMemberOctavio i attached two files which are same but the problem is one is executing and the other is not being executed. i don’t know whats going on, can u please help me with….
Attachments:
You must be logged in to view attached files.September 24, 2012 at 2:31 pm #330434
support-octavioMemberHi adikate,
I’m reviewing your files this afternoon and follow up with my findings as time permits me.
-
AuthorPosts