Adding Records to Lists

Lists can also have links to add new records to them. Not surprisingly, this is created by adding an add-link element to the list and specifying the start and end pages to take the user to when creating the new record. While the start page for an add link will almost certainly be part of the loop used to populate the list in the first place, the end page may not necessarily be. This is because you may want to force the user to go through some extra pages after creating the record to ensure that all the other information entered so far is up-to-date. An example of this would be when adding people to a list in situations where the user has already captured relationships for the existing people. Once the new person has been added, the user should be taken through the relationships pages (which typically come after the loop), so the end page for the add link can be set accordingly.