618541
666
Zoom out
Zoom in
Previous page
1/691
Next page
659
Building applications visually
Last updated 2/19/2015
You can change the label of the Submit button by selecting the button, opening the Property inspector (Window >
Properties), and entering a new value in the Value box.
The next step in creating a registration page is to add the Insert Record server behavior to insert records in the table
of users in the database.
Update the database table of users
You must add an Insert Record server behavior to the registration page to update the table of users in the database.
1 In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select Insert Record from
the pop-up menu.
The Insert Record dialog box appears.
2 Complete the dialog box, making sure to specify the table of users in the database into which the user data will be
inserted. Click OK.
The final step in creating a registration page is to make sure the user name is not used by another registered user.
Add a server behavior to ensure a unique user name
You can add a server behavior to a user registration page that verifies that the user name is unique before adding that
user to your database of registered users.
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 In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select User Authentication
> Check New Username from the pop-up menu.
2 In the Username Field pop-up menu, select the form text field that your visitors use to enter a user name.
3 In the If Already Exists, Go To box, specify a page to open if a matching user name is found in the database table,
and click OK.
The opened page should alert the user that the user name is already taken and let the user try again.
More Help topics
Build an insert page block by block
Building a login page
Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see
this article.
About login pages
Your web application can contain a page that lets registered users log in to the site.
666


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe Dreamweaver CC - 2014 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe Dreamweaver CC - 2014 in the language / languages: English as an attachment in your email.

The manual is 24,32 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe Dreamweaver CC - 2014

Adobe Dreamweaver CC - 2014 User Manual - German - 731 pages

Adobe Dreamweaver CC - 2014 User Manual - Dutch - 718 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info