- This topic has 6 replies, 2 voices, and was last updated 12 years, 6 months ago by
kevinm.
-
AuthorPosts
-
kevinmMemberTo whom it may concern,
I am busy developing a multiple page app, that requires the user to complete three forms each on an individual page. I would appreciate any advice or assistance you can provide in helping me to compile and finalise my app.
I have read a number of posts but some how have not been able to develop a solution. I would appreciate it if you could provide possible templates that could be leveraged in addition screen capture of how to do it.
Thanks in Advance
Kevin
support-octavioMemberHi Kevin,
Could you provide us more information about what is the problem? transitions? getting data from text fields? Others?
kevinmMemberHi Octavio,
I am trying to get data from the input fields on seperate pages and then display them on an individual page which is then submitted to a pre-defined email address. I have attached my project files for your reference.
The workflow is as follows:
Incident Report => Log Incident Report => My Details => Third Party Details => Report Details => Results [Submit to email]
In addition, it there an option to access the camera to take a photo and attach it to the report details?
The help is appreciated.
Kevin
Attachments:
You must be logged in to view attached files.
support-octavioMemberHi Kevin,
We have not forgotten you, will follow up tomorrow with a few advices.
kevinmMemberHi Octavio,
Just following up on your last email wondering if you are able to provide a solution to my problem. It has been over a week now and I am really under pressure now to deliver this project of mine. I understand you may have other people you are helping, however would appreciate the help.
Thanks
Kevin
support-octavioMemberHi Kevin, a couple thoughts:
I suggest you to put your functions in your _custom.js file. i.e. the Submit report button of Results screen.
Also, in this function when you’re getting the data from the text fields you should do as next doc: https://www.genuitec.com/mobile/docs/javaScriptSnippets/javaScriptSnippets.html#managing_widget_idsSo, you should use
firstname = $(‘#m1-Results-textField1’).val();
instead
firstname = $(‘#textField1’).val();Note: your var “school/club” in this function will cause an error, I suggest you to change the “/” for a “_”.
Also, this function have another few syntax errors as variables that doesn’t exist. These same issues exists on the function of the Custom in the Report screen. Other issue I found is that you’re calling the loadData function, but didn’t find it.
Hope these advices are helpful. Please trying editing this issues and let us know how it goes.
kevinmMemberHI Octavio,
Thanks for the help. As a non-programmer is there a simple way of having multiple pages and a simple submit button at the end of the series of pages.
It is extremely difficult to try and get my head around this and was hoping for a simple solution a cut n paste type bit of code I could utilise. Ultimately I want people to be able to submit information to an sms/ email address.
Any working example you could share with me would be helpful.
Regards
Kevin -
AuthorPosts