Question
Any Ideas on how to change the Check New Username to work on an update form instead of an insert form
Hi All,
I think I've attached the code below, which checks whether a Username already exists in the table, I've slightly ammended this, as i have a number of sites accesing the database, so i'm checking against the siteId also (you will see i have added the following code AND JBACASiteID = '1'") -
As I'm using the email address as the Username, and email addresses can change, I've given (or would like to) the user the option of changing their username, what I haven't done is applied the Check New Username behaviour to this.
Does anyone have any ideas as to how best to apply the Check New Username to the Update Record behaviour, and include the check against SiteID?
Many thanks
I think I've attached the code below, which checks whether a Username already exists in the table, I've slightly ammended this, as i have a number of sites accesing the database, so i'm checking against the siteId also (you will see i have added the following code AND JBACASiteID = '1'") -
As I'm using the email address as the Username, and email addresses can change, I've given (or would like to) the user the option of changing their username, what I haven't done is applied the Check New Username behaviour to this.
Does anyone have any ideas as to how best to apply the Check New Username to the Update Record behaviour, and include the check against SiteID?
Many thanks
