How do I Create a Form?

Just started using Construct 2? Post your questions here

Post » Mon Mar 03, 2014 11:53 pm

I uploaded a .capx to google docs: https://docs.google.com/file/d/0B7shV36L5wGXS0dxS1lHU1lwOVU/edit

My goal is to create an ios app for checking in/checking out. I just want two buttons that trigger a few events. Pushing the checkout button should create these actions: the name and/or MAC of the ipad is retrieved and sent to an online google spreadsheet. Same for pressing the Checkin button.

The design goal is just to track people: Are they checked in or checked out and when.

I know some HTML and CSS, but I'm afraid I'm in the dark with JavaScript, AJAX, PHP and the like. I know that the answer is probably to use a scripting language, and I'm hoping C2 can forgive my ignorance and do it for me. Thanks for any help.
B
3
Posts: 7
Reputation: 589

Post » Tue Mar 04, 2014 7:29 pm

From the looks of it, you do need something like php and ajax.

In construct 2 you can use the Ajax function to post information to a PHP file.
When the ajax call is made, the PHP file can echo out some information, which is directly relayed back to your construct 2 program; made available through Ajax.LastData.

ajax in the manual

log in tutorial with php
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,592

Post » Thu Mar 06, 2014 9:30 pm

Thank you!
B
3
Posts: 7
Reputation: 589


Return to Beginner's Questions

Who is online

Users browsing this forum: dickylarsonn02 and 1 guest