Let's maintain users
Log on as the bjones user and click on the Users button. The following screen will be displayed:
Enter the letter A
in all fields and click the Save button. The Invalid Fields message will then be displayed:
Enter valid entries (remembering the validation rules!) and click the Save button. The new user record should then be added to the user list:
You can now try to delete and update users to test the different functions you have written. There is a lot of activity hidden from view when you are performing such tests. You can open the JavaScript console appropriate for your browser (Safari Web Inspector, Firefox Firebug, Chrome Developer Tools, or the generic Fiddler http://fiddler2.com/get-fiddler) to inspect the requests being sent. Try logging on again as bjones
, clicking on the Users button, adding a new user, and then deleting this new user. You will see the following requests being sent to the server:
Liberal use of TTT.console()
in your functions will also help...