Forums

Check a textbox value from a list in a multi-page form

Franck333 22 May, 2015
Hi Bob,

I use version 4 of ChronoForms for an association website : I wish the filling out of some forms is filtered by the user authentication (by membership number): I created a multi-page form and I wish that when the user clicks on 'Next Page', there is a check of the membership number:
- Either from a list manually filled in ChronoForms.
- Either from a check in a database.

See the website link here:

Thanks for your advice and support
Franck W.
GreyHead 23 May, 2015
Hi franck333,

Are your members registered as Joomla! Users? That is is the simplest way - if they log in then you can check their User Group to see if they are permitted access or not.

If they aren't registered then you can check against a list in a file or a database table (I'd probably use a table),

In your form add a DB Read action to the second page to look up the membership number; then use an conditional action to either continue to show the next page or redirect them somewhere else. Please see this FAQ for some ways to do this.

Bob
Franck333 24 May, 2015
Thanks so much for your support, I will try the DB Read action with the conditional action tomorrow.

Regards
Franck W.
This topic is locked and no more replies can be posted.