Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 85

chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
08/11/12 08:53 AM (13 years ago)

Form submission with saved user info

Is there a way to gather user info (as in a profile), save it to the user's device, and then create a button to send the profile info to a certain email address? To give a bit more info, this is what I'm trying to do: I'm creating an app for my church and I'd like to have a "check-in" button that replaces the traditional attendance pad found in the pews. I can use an html for builder to do this easily enough, but it would be nice if the user didn't have to enter their information in every time, but instead pulled it from saved info on their device. Thanks
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/12/12 12:13 AM (13 years ago)
Hi @chris1, Welcome to buzztouch! HTML5 and localStorage would be the way to go. Here are some examples that you could incorporate into a buzztouch HTML or Custom HTML/Text screen: http://www.thomashardy.me.uk/using-html5-localstorage-on-a-form http://www.toasteddigital.com/blog/html5-jquery-localstorage-forms.html http://elikirk.com/2012/05/01/store-form-data-html5-localstorage-jquery/ Mark
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
08/12/12 08:49 AM (13 years ago)
Thanks Mark! Just looking at the first link, this looks very promising. I'm surprised at how simple the code is! I'll take a look at this more when I get home, and play around with it. One question I have - will this work between screens? i.e., can I have a screen that sets up a profile and another screen that does the checkin? Or do I need to have it all in one, with some code to detect whether the profile has been previously saved, and if so, go straight to the form with info preloaded?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
08/12/12 12:17 PM (13 years ago)
somehow this posted a second time (this copy is edited to delete duplicate post)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/12/12 01:37 PM (13 years ago)
Happens if you refresh, instead of coming in from a link!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.