Setting the Check New Username dialog box options The purpose of this dialog box is to add a server behavior to a user registration page that verifies that the user name submitted by a visitor is unique before adding that visitor to your database of registered users.
Procedure
Before starting, you must complete the following tasks:
Add an HTML form to the registration page letting users choose a user name
and password. For instructions, see Letting users choose a user name and password.
Add an Insert Record server behavior to the page to update the database containing
the login information about your registered users. For instructions, see Updating
the table of users in the database.
With these prerequisites in place, you can complete the dialog box as follows:
In the Username Field pop-up menu, choose the form text field your visitors
use to enter a user name.
In the “If Already Exists, Go To” box, specify a page to open if
a matching user name is found in the database table.
The opened page should alert the user that the user name is already taken and
let the user try again.
Click OK.
When the user clicks the Submit button on the registration page, the server
behavior compares the user name entered by the user against the user names stored
in a database table of registered users. If no matching user name is found in
the database table, the server behavior carries out the insert record operation
normally. If a matching user name is found, the server behavior cancels the
insert record operation and opens a new page (usually a page alerting the user
that the user name is already taken).
1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101