jlundy Posted August 18, 2015 Report Share Posted August 18, 2015 I have "user_table" and "item_table" and both have the field "user_id" which is unique in "user_table" but not in "item_table". I have "sell_item_datapage" which was going to require auth for members. **How can I allow both logged-in users and unlogged-in users to submit an item to sell?** Do I need 2 datapages? Also, do you think I need an additional table or additional fields? Thanks, Jason Quote Link to comment Share on other sites More sharing options...
0 Jan Posted September 3, 2015 Report Share Posted September 3, 2015 Hello Jason, Welcome to Caspio forum! As far as I know, it is better to use two DataPages, one with an Authentication and another without it. You can use the default user, for example, "guest" and display default login-password under Login fields, but I am not sure that it is the best idea. If all items are sell together, I mean, it is not important for a buyer who sells an item (an authenticated user or not), I would like to recommend you to use one table. If you want to work separately with both kinds of items, you can create Views that filter items by the "user_id" field - "is blank" and "is not blank" correspondingly. I hope, it helps. Quote Link to comment Share on other sites More sharing options...
Question
jlundy
I have "user_table" and "item_table" and both have the field "user_id" which is unique in "user_table" but not in "item_table".
I have "sell_item_datapage" which was going to require auth for members.
**How can I allow both logged-in users and unlogged-in users to submit an item to sell?**
Do I need 2 datapages?
Also, do you think I need an additional table or additional fields?
Thanks,
Jason
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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.