Hello,
I have a form that someone fills in order to participate in a class.
Some of the fields are these:
First Name | Last Name | Class Title | Class_unique_id
The First Name and Last Name are filled by the user.
The Class Title and Class_unique_id are filled by me from the URL like this:
/index.php/aitisi-seminariwn?Class_Title=The Class Name&Class_Unique_id=class_cs_1.
Now i want to add a counter that checks the value of the class_unique_id,
if it is equal with an already existing id then it increases a counter for that specific class_unique_id.
else it sets it to 1.
Example: Let's say that i have 4 users that want to participate in maths class with unique id = maths_1.
It would work like this:
look if maths_1 id exists. If exist then find the latest entry count (in our case would be 4) and increase it by one.
else put 1 on entry count.
Any ideas?
I have a form that someone fills in order to participate in a class.
Some of the fields are these:
First Name | Last Name | Class Title | Class_unique_id
The First Name and Last Name are filled by the user.
The Class Title and Class_unique_id are filled by me from the URL like this:
/index.php/aitisi-seminariwn?Class_Title=The Class Name&Class_Unique_id=class_cs_1.
Now i want to add a counter that checks the value of the class_unique_id,
if it is equal with an already existing id then it increases a counter for that specific class_unique_id.
else it sets it to 1.
Example: Let's say that i have 4 users that want to participate in maths class with unique id = maths_1.
It would work like this:
look if maths_1 id exists. If exist then find the latest entry count (in our case would be 4) and increase it by one.
else put 1 on entry count.
Any ideas?