Wishlist

Astrid 06 May, 2008
I really love this component and the help on the forum. Still one wish: possibility to limit number of subscriptions. I would like to use it for a subscriptionform for a series of courses with a maximum of 15 participants per course.
GreyHead 07 May, 2008
Hi Astrid,

This is not a ChronoForms feature but you can easily do it in your form code. Save the data to a database table and count the number of valid entries before you display the form.

Bob
Emile 13 Jan, 2010
Hi Greyhead (and team)

Same for me like Astrid, I like your component very much too and I also want to maximise the number of subscribers.
But I don't understand what you mean with: Save the data to a database table and count the number of valid entries before you display the form.

Can you please add some line to explain further what I exactly have to save, where to put this and how to count the number of valid enties.
Thanks for your help,

Emile
GreyHead 13 Jan, 2010
Hi Emile,

You save the form results to a database table - there is a tutorial to tell you how to do that.

Then you need to include a small PHP+MySQL snippet at the beginning of the Form HTML to check the database table and see if all 15 places are already taken. There are plenty of examples of MySQL queries in the forums here.

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