Use input.ID in script
Use input.ID in script
I want to use Creator for course administration. I intend to publish a form where you could sign up for courses. I wish to limit the number of participants, so when the course is full an attempt to register should return an alert saying "Sorry, this course..."
I tried to use the ID field for this, saying in the script for validation at submit that a value for this field higher than for example 10 should result in anlert and result in a cancellation. if (inpit.ID > 10) and so on.
I doesn't work and I can't see anywhere what the ID for a record is. In the view for the form There is an ID column, but nothing happens if you try to make it visible.
Am I on the right track at all if what I want to do is stop people from registering when the course is full?