Forums

Create a log-in form/verification before form data entry

Givnum 03 Feb, 2014
Hello,

I'm creating a form for warranty purposes. A manager has told me they'd like the form to allow users to 'log-in' to the form to verify the identity of the claimant and then submit their request.

The idea is to have a user validate with an ID and/or password, and then just have them enter the details of the issue they're encountering. Preferably, their details will be filled behind-the-scenes when the email is sent.

I was thinking of having a database filled with the relevant user info, user name, password, which is checked upon entry. If the check is successful the user can then enter the details of their claim.

We've no need to have the user make an account as we can generate the database of log-in/user data ourselves.
This is intended to forward on to a system we use via email.

I'm asking because while I may have a general idea of how to do it, I'm really not sure how to go about it correctly.
I was wondering if anyone has access to a tutorial, or previous post that may help me?


Thanks
GreyHead 03 Feb, 2014
Hi Givnum,

Joomla! already includes a fully developed membership system so I'd suggest that you use that. You can create a separate User group (in Joomla! 2.5 and later) to keep these users distinct from other registered users.

Then, in the warranty Form you can use the Authenticator action to check if the user is registered and logged in. if they aren't send them to a registration/login form. You can either use the Joomla! registration form or build a new one in ChronoForms if there is custom data that you need to collect.

Bob
Givnum 05 Feb, 2014
Hi Greyhead,

Thanks for your help. It's set me on the right path.

http://www.chronoengine.com/forums/posts/f5/t91301/login-chronoform.html?hilit=login
http://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/4354-how-can-i-create-a-joomla-registration.html

I've been referring to these to create a login page/form that will access a special user group group as you said.

Just to clarify, I pretty much just need to create a form that verifies a user against a pre-existing table/database. Upon verification I want to redirect them to a page with a new contact form to submit their claim.

Is there any additional resources you could suggest to help me?

Regards,

Givnum
Givnum 05 Feb, 2014
I should add - in the claim menu I require several dropdowns which are customer specific. This will probably access another table, once the user has been verified.
The customer will have several dropdown menus containing a list of products (separated into their relevant categories) that they are registered to have.
This topic is locked and no more replies can be posted.