phdcc.Data DNN modules
  search
Powered by FindinSite-MS
phdcc.Data Examples
phdcc.Data: Overview Examples Getting Started Security Database Versions
phdcc.Data.Form: Form Profile/Register forms Form editing Languages Layout Questions Form hooks Admin
phdcc.Data.View: View  phdcc.Data.List: List phdcc.Data.Search: Search
Last updated: CC 7/11/08

Introduction

Click here to see the phdcc.Data examples. You can fill in several forms and see the results from some of the forms. There is an option on each form to request a copy of the form results email that we receive.

You can try out the Simple survey form without registering at the site. The other examples require you to register - you can do this using the custom registration form example.

Simple survey form

Click here to see the Simple survey form example. This is a form that requests your details and lets you say which features you like in phdcc.Data and give suggestions.

This is a 'Recordset' form that sends the answers to the form owner, records the answers in the database, and says "Thank You". As a user you cannot recall the answers that you submitted. You can submit the form more than once. You do not need to login to use this form. However, if you are not logged in, a Captcha question must be answered correctly so we do not get the form filled in by non-humans.

The form has a 'Name' required field. There is an optional 'Email' field - if you give an answer then it must fit the email regular expression. Try answering these questions incorrectly to see the validation errors.

This form shows the checkboxes and text question types. The 'Features' checkbox list also shows the 'Other' option that lets a user supply a different answer to those that you have anticipated.

You can import this form into your site if you download the Simple survey form definition XML

'Profile' form example

Click here to see the Profiled survey form example. You must have registered and logged in to see this survey form which asks the same questions as the previous example. The form remembers your last answers so you can update your response - if you return to the form then it says "You have already filled in this form." and there is a button with option "Amend Form".

This is a 'Profile' form that sends the answers to the form owner, records the answers in the database, and says "Thank You". You must login to use a Profile form. As described above, the form remembers the answers for each user and asks if you want to amend the form.

You can import this form into your site if you download the Profiled survey form definition XML

DNN Profile form example

Click here to see the DNN Profile form example. You must login to see this form. This form links your answers to Profile Properties in the standard DNN profile. You should see the "Display Name" and "Email" questions already filled with these standard DNN properties. The form also links to new Profile Properties that have been added to this site, 'Organisation', 'Favourite Colour' and 'Lucky Number' (the property names are case significant). Once you have filled in this form, your answers can also be seen in your standard DNN profile, ie if you click on your 'Display Name' at the top right of the example form and then "Manage Profile".

Be careful when using this form, as any changes you make to 'Display Name' and 'Email' will change your registration details. You will have to go to another DNN page to see the revised 'Display Name'.

This is another 'Profile' form that works in a very similar way to the previous example. In addition, most of the questions are linked to DNN profile properties. So, filling in the form updates the corresponding DNN Property. Vice versa, if you change a DNN property using the standard DNN profile screens, then the updated values will be shown if you return to edit a form.

You can import this form into your site if you download the DNN profile form definition XML

Custom Registration form

Click here to see the custom Registration form example. The form lets you register at the site - or change your registration details if you are already logged in. A Captcha question must be answered correctly so we do not get the form filled in by non-humans.

The form has been customised so that only a 'Username' and 'Email' are required to register. Additional non-standard questions are asked as well - you could make these required fields on your site; the answers are stored as DNN Profile properties in the same way as the last example. A customisable registration email is sent to the new user containing the auto-generated password.

The form makes various checks on the 'Username' and 'Email' - an error is reported if the 'Username' or 'Email' already exists, or if the 'Username' contains unacceptable characters. You can also provide 'Display Name', 'First Name', 'Last Name' and 'Password' fields though only the 'Email' field is required - see the full Registration documentation for details

If you are already logged in, the 'Username' is disabled because you cannot change it. Still be careful however, as any changes you make to 'Email' will change your registration details.

You can import this form into your site if you download the Registration form definition XML

Search, Results, Listing and Catalogue examples

You can see the results produced by some of the above forms on the pages below. These illustrate the phdcc.Data.List and phdcc.Data.Search DNN modules. Click on a 'Go' link to see an individual result displayed by the phdcc.Data.View module.

Show all question types

Changed special strings

Show redirect to different Thank You page

Multi-lingual example

Moderated example