A
|
ann 6/18/2010 |
Nelson, |
N
|
Nelson author 6/18/2010 |
Nelson, use Before login event and predefined action Check if specific record exists on the Events tab to check if the password already exists.
//********** Check if specific record exists ************ |
A
|
ann 6/18/2010 |
Nelson, global $conn; |
N
|
Nelson author 6/18/2010 |
Nelson, here is the correct code: global $conn;
|
A
|
ann 6/18/2010 |
Nelson, return true; |
N
|
Nelson author 6/18/2010 |
Nelson, to prevent saving of the record return false, otherwise return true. Don't forget to delete this line at the end of the function: return true;
global $conn; |
A
|
ann 6/18/2010 |
Nelson, |
N
|
Nelson author 6/18/2010 |
Nelson, use $message variable of the function to display your message.
|