mfazliazran / webberig-applications-framework

Automatically exported from code.google.com/p/webberig-applications-framework
Other
0 stars 0 forks source link

Check if a user already exists #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should add an additional Validator in the users form that checks if the 
username isn't already in use. 

This kind of validator may probably be useful in other forms as well.

Original issue reported on code.google.com by math...@webberig.be on 14 Aug 2011 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by math...@webberig.be on 14 Aug 2011 at 8:53

GoogleCodeExporter commented 9 years ago
Since I need to develop a new validator, I'm moving this to the 0.3 release.
The new validator will check the database using 5 parameters:
- Table name
- field which contains the value
- The value that needs to be checked
- A field name used to ID a record which should be skipped (in case of an 
update)
- ID value of the record that needs to be ignored

Original comment by math...@webberig.be on 19 Aug 2011 at 7:04

GoogleCodeExporter commented 9 years ago
Fixed in revision 24

Original comment by math...@webberig.be on 21 Aug 2011 at 2:26