Form that has users and data stored in DB

jrthor2 27 Dec, 2016
I have a friend who has a site developed in Joomla 3.x. They asked if there was a way to have a form on their website that would require a login, and when they logged in, they could either manage books that they had entered previously, or add a new book. Only that user can see their items they have entered, and it would basically send an email to an email address to submit an order to get the book bound.

Is this at all possible with ChronoForms v5? If so, could you give me some idea how this would be accomplished? I'll assume they don't want the users stored as regular Joomla users, but I don't know that for sure, so maybe give ideas how to do this with Joomla users, and without Joomla users.

thanks for any help!!
GreyHead 27 Dec, 2016
Hi jrthor2,

Yes you can do it.

You'd have a form for book entry and either the same form or a modified copy for editing.

I'd use ChronoConnectivity - the sister application to ChronoForms to create a listing of books including 'edit' and 'order' links.

Bob
jrthor2 27 Dec, 2016
The users have their own listing of books, there is no general listing for everyone to see. So the form might have book title, author, etc. that they would store in a table, but how do I only allow users to see the books they have entered? And would there be a seperate login form I'd have to create that would log them in and show a listing of all of their books, with like an edit button and an add new button? Is that all done within ChronoForms?

Thanks
GreyHead 27 Dec, 2016
Hi jrthor2,

Your users have to be registered on the Joomla! site so you can identify them. You make the listing only available to logged in users and you filter it using the user ID - which you saved with the book record - to show only their books.

You can use the Joomla! login form and set it to redirect to the listing (or you could build a custom one in ChronoForms but that isn't necessary).

The rest is all done within ChronoConnectivity - for the listing - and ChronoForms - for the forms.

Bob
This topic is locked and no more replies can be posted.