- Open the Begin WebRoutine in WAM iiiSecMaint in the Design view.
- Add a new row to the table containing the Department AutoComplete weblet.
- Set the left hand cell in the new row, to align left.
- Add a button with image to the bottom left hand cell.Delete the place holder characters.
Hint: If you have a problem selecting inside the table, select the push button and move the cursor right, to position in the table cell. Enter two * characters. Now right click and use Table Items / Add Rows…
- Set up the New Section push button properties as shown:
Property
Value
Caption
New Sectionleft_relative_image
icons/normal/16/star_16.pngOn_click_WamName
iiiSecAddOn_click_wrname
AddSectsubmitExtraFields
Field Name: STDRENTRYField Value: N- Adjust the width of the push button to display the caption as one line.
- Save your changes.
Your completed Begin page should look like the following:
- Save these changes and run the Begin WebRoutine for WAM iiiSecMaint to test iiiSecAdd.
- Adding a new section should return to the Select a Department web page and display a list of sections for the department concerned.
- Trying to add a section with invalid or missing data should redisplay the Add Section web page, with error messages.
