Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

Account creation with full user profile capture.

Jennifer did you ever get this answered to your liking? You have the same basic question I have: how to auto-populate a form with user data added from another page/form and pulling from the db. Let me know and share

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

Account creation with full user profile capture.

Hi, so I would like to know if I need to add a RESTservice to my Registration, Login or Cart(the page I would like the form fields to autopopulate) page? I added it to the Cart page but nothing is happening. Thanks in advance

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Account creation with full user profile capture.

Hi Scott,

What is the difference between Registration and Cart pages?

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

Account creation with full user profile capture.

The registration page will initially capture all the user information and be added to dBASE. The cart page is just where they checkout with their selected product. This page simply displays the same info as registration form fields

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Account creation with full user profile capture.

Hello! On Cart page Load event do the request to DB using REST service. Map data you retrieve from service to the fields you need.

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

Account creation with full user profile capture.

Okay but there is nothing in either request or response to map to.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Account creation with full user profile capture.

Do you mean service doesn't return any data?

Scott Schechtel6280324
Posts: 0
Joined: Sun Sep 29, 2013 12:03 am

Account creation with full user profile capture.

correct. Here are screenshots:

Image

Image

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Account creation with full user profile capture.

Hi Scott,

On the first screenshot: 'RESTservice' is it a Database service?
It should be like it's described here :: http://docs.appery.io/documentation/b...
ul
li
if you want to show the data that was inputted by the user on signup stage, you should use a 'list_service' that will return the data already exist in DB
:: http://docs.appery.io/documentation/b...
/li
/ul

There is no need to use a 'Wineusers_signup_service' on Cart page - since this service used only when a user will sign up for the first time.

On signup process you should ask additional information from user - that will be stored under his credentials in your DB.
:: http://docs.appery.io/documentation/b...

After the user is signed up and has log in - you will need to save his sessionToken that will be used when user reached the Cart page.
:: http://docs.appery.io/documentation/b...

On that page you invoke DB service and pass the sessionToken to retrive the information that was already saved on signup process by this user.

Return to “Issues”