Charles Smith
Posts: 0
Joined: Tue Oct 29, 2013 10:38 pm

Two way communication with a Wordpress Database

I need to create a simple ( loosely stated :) ) that is a mobile petition form. We will have the same form created on a Wordpress website. Is there a way to sync data between the phone app and the Wordpress database form tables? Basically what I would like to do is once we get a certain amount of electronic signatures collected via the form, I want to display the accruing number within the app, but it would only make sense if it displayed the total collected from the web and the app together.

If I am making any sense at all...any feedback is welcomed and appreciated.

Thank you,
Charles

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Two way communication with a Wordpress Database

You can do that (well, you can do anything you want really). Wordpress has REST API. Every time your user opens the app, you can read the count and display the number of signatures.

Charles Smith
Posts: 0
Joined: Tue Oct 29, 2013 10:38 pm

Two way communication with a Wordpress Database

Cool. Is there a way of combining the count from the web with the count from the phone or would they need to be displayed separately?

Thank you for the quick reply.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Two way communication with a Wordpress Database

You can. One option is to have both clients (mobile, Wordpress) use the same API.

Charles Smith
Posts: 0
Joined: Tue Oct 29, 2013 10:38 pm

Two way communication with a Wordpress Database

Max,

Thank you so much for the replies. I look forward to using the service.

Chuck

Return to “Issues”