Greetings!
I have a form that keeps track of when a user pays/renews their dues. If their dues are current, their login access is(remains) active. If their dues are not current, then is it possible to have a script kick off, check whether the user's dues are current and, if not, set their login access to inactive until their dues are paid? I would like this to happen automatically so that the adminstrator doesn't have to go through each user one by one. I believe that a server side script is required, but I am not sure how to write one (as I have never had a need to write one before).
I have a dues paid field and a dues renewed field. The dues paid field is manually updated by the administrator. The dues renewed field is automatically set when the form is submitted to 6/30/XXXX and can be overwritten by the administrator as needed. Per client requirements, all dues expire on 6/30 each year.
So, if I paid my dues last on 7/30/2005 and today is 7/1/2006 and my renew by date is 6/30/2006 (and not updated by the administrator to 6/30/2007 because I paid my dues), then my dues are not current.
Where would I need to place this server side script within my page and is there any special syntax that I need to watch out for? Can this even be done automatically? Are there any drawbacks to this, security issues to watch out for, etc.?
Thanks in advance for any help!
G
I have a form that keeps track of when a user pays/renews their dues. If their dues are current, their login access is(remains) active. If their dues are not current, then is it possible to have a script kick off, check whether the user's dues are current and, if not, set their login access to inactive until their dues are paid? I would like this to happen automatically so that the adminstrator doesn't have to go through each user one by one. I believe that a server side script is required, but I am not sure how to write one (as I have never had a need to write one before).
I have a dues paid field and a dues renewed field. The dues paid field is manually updated by the administrator. The dues renewed field is automatically set when the form is submitted to 6/30/XXXX and can be overwritten by the administrator as needed. Per client requirements, all dues expire on 6/30 each year.
So, if I paid my dues last on 7/30/2005 and today is 7/1/2006 and my renew by date is 6/30/2006 (and not updated by the administrator to 6/30/2007 because I paid my dues), then my dues are not current.
Where would I need to place this server side script within my page and is there any special syntax that I need to watch out for? Can this even be done automatically? Are there any drawbacks to this, security issues to watch out for, etc.?
Thanks in advance for any help!
G