Dreamweaver MX ASP Tutorials Macromedia Dreamweaver MX

Create an Add User Page - Step II

26. Open the addUser.asp page.

27. Click inside the contentLayer and type Add New User and hit the enter key to create a new paragraph. Click inside Add and then change the Format to H1 in the Property Inspector.

28. Click in the new paragraph and then Insert > Application Objects > Record Insertion Form and use the following settings in the Record Insertion Form window. Be sure to click on the UserID field and then the (-) sign to delete it. It is the Primary Key for the table and is set to AutoNumber. Be sure to click on each field and change the Label. Click OK.

Record Insertion Form

29. Click in each cell in the left hand column and then right-click on the <td> in the bottom of the Design View window and select Set Class > tblData.

30. Click on the Insert Record button is already on the page, and change the Label to Add New User in the Property Inspector.

31. Open the backsideBase.asp page and save it as duplicateUser.asp.

32. Change the heading to Duplicate User.

33. Add a paragraph that says Duplicate Username, please try again.

34. Add a link back to the addUser.asp page by typing Add New User, highlighting it, and then clicking on the folder icon next to the Link box in the Property Inspector and selecting the addUser.asp page.

35. save and close the duplicateUser.asp page.

36. Reopen the addUser.asp page if it is not open.

37. Click on the (+) sign in the Server Behaviors Panel and select User Authentication > Check New Username and use the settings below in the Check New Username window. Click OK.

Check New Username

38. Click below the form and type Backside Menu.

39. Highlight Backside Menu and then click on the folder icon next to Link in the Property Inspector and click on the backsideMenu.asp page.

40. Save the addUser.asp page.

41. Open the backsideMenu.asp page.

35. Add a link to the listUsers.asp page. Type List Users, highlight it, and then click on the folder icon next to the Link box in the Property Inspector and select the listUsers.asp page.

42. Add a link to the addUser.asp page. Type Add New User, highlight it, and then click on the folder icon next to the Link box in the Property Inspector and select the addUser.asp page.

That is all there is to creating an Add User page in MX.

Click here for an example page.