-
- What is DG3
- The different components
- Requirements for running DG3
- Installation of DG3
- Additional installation steps
- Select which web server to use
- Hello World application
- Intro to CMS
- Setting up DG3 as a CMS
- Editing pages
- More about pages and urls
- Structuring a page using the grid
- Adding menu to pages
- Add images to the application
- More formating
- Sending email from contact us
- Adding menu to template
- Deploy the web site
- Storing the pages in database
- Create record
- Auto fill field
- Field validation
- Enable save button validator
- Add new button to template
- View document
- List documents
- Fix selection in menus in template
- CRUD Create Read Update Delete
- Intro to blogs
- Add user authentication
- Bootstrap authentication
- Let user change their passords
- Add reset password
- Login dialog box
- Extending the CMS to a blog
- Extend table for blogging
- Edit blog entry
- View blog entry
- User registration
- User password validation
- User field validation
- User auto login
- User extra registration fields
Edit address
To edit the address, we create a new page that we can use for adding and editing addressees. Do this by creating a editaddress page under the address folder. For this page we connect to the Companies table and add Initial action New Record. This makes it easy to use the same form as a new address form.

Page properties
We can set the element properties to HTML as usual and start adding fields. All of the field on this page will be mapped to fields in the table. Each field added will get a default name in lower case without any spaces.
The finished code
To accommodate the bootstrap fields we add a form-control to all field and a Tag tail with placeholder="what field".

Example the customer name field
Saving the record
To be able to create or save the record, we add a button with an action of updateredirect and a button to delete the record. We style them with bootstrap button class="btn btn-primary". We use the livelive value to fetch the customer number from the hidden field giving the following redirect "/address/viewaddress/?CustomerNr=[[ customernr ]]". This is to be able to redirect to the right customer when a new customer is created. We also add a button with action deleterecordredirect with a danger color on the button (btn-danger).