Jump to content

Recommended Posts

Hi Mylene, 

 

You should have 2 tables ( and one with User Table) :

Items

Orders

 

After user logs in and opens a page with Items, we use a submission form with auto-submission script and submit a new record  with userID (taken from authentication fields) and orderID (auto number) to the “User-Order” table. We will create a unique Order_ID for each order on this step. Then we pass Order_ID as a parameter and user will be redirected to the results page with items.

 

You may  add a button like “Add this item” for each record on the results page. When user clicks on a button, we will call a popup with a submission form, using an auto-submission script and a new row will be added to the “Orders” table. We will pass item and Order_ID, which was passed from the previous step.

 

Please find useful links below:

How to create a popup window with a submission form:

http://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-generate-link-menus-and-popup-windows/

 

JS solution about creating auto-submission datapage:

http://forums.caspio.com/index.php/topic/4314-js-auto-submit-a-datapage/

 

An article about passing parameters:

http://howto.caspio.com/parameters/passing-parameters/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...