This is a prototype for Dart Charge...
It is viewable on http://dffc-beta.herokuapp.com with the following authentication details:
- Username:
bridge
- Passowrd:
tunnel
- http://dffc-beta.herokuapp.com/
- http://dffc-beta.herokuapp.com/account/setup/dart-tag
- http://dffc-beta.herokuapp.com/account/setup/personal
- http://dffc-beta.herokuapp.com/account/setup/local
- http://dffc-beta.herokuapp.com/account/setup/vehicle
- http://dffc-beta.herokuapp.com/account/setup/payment
- http://dffc-beta.herokuapp.com/account/setup/payment/direct-debit
- http://dffc-beta.herokuapp.com/account/setup/payment/card
- http://dffc-beta.herokuapp.com/account/setup/summary
Using the ?=debug
query string shows all hidden fields.
The JavaScript is NOT production-ready and will only work in modern browsers, so people with older versions of IE should use the ?=debug
switch and follow along with the notes below.
- GDS will create a GOVUK start page, so this page (in its current form) is redundant
- It will become the signup/login page once I create the account prototype
- No changes
- Form is submittable if:
- “No” is selected, or
- “Yes” is selected and there is content is “account number” and “verification code”
- Leads to “Personal"
- Added more addresses to the address select
- Local postcode triggers “Apply for local discount” checkbox
- Submit button now navigates to /local if there’s a local postcode and “Apply for local discount” is checked
- Disabled form submission by [enter] key to prevent unintentional form submissions
- Form is submittable once “find address” has been clicked
- Leads to “Vehicle” (or “Local” as described above)
- Now has 2 proof of residence file upload inputs
- Form is submittable if:
- a file is attached for each proof, or
- “apply later” is checked
- Leads to “Vehicle"
- Disabled form submission by [enter] key to prevent unintentional form submissions
- Can now add non-found vehicles
- Max 5 vehicles, else hide input form
- Adding a vehicle hides the vehicle input fields and shows “add another vehicle” button
- Clicking “add another vehicle” button shows vehicle input
- Vehicle removal works, including hiding table and showing input if 0 vehicles
- There’s an array of JSON objects containing vehicle information
- The following registration numbers will return “existing” vehicles:
- GX05DTY
- TR13PFJ
- CHT368D
- FY07PFL
- GX05DTY
- PA50WSD
- D265FDG
- Form is submittable once add least one vehicle has been added
- Leads to “Payment"
- Direct debit changes, as per Jon’s email
- If “direct debit” is selected, form submission leads to “/direct-debit"
- Form is submittable once “terms” has been checked
- Leads to “Card” (or “Direct Debit” as described above)
- This is where direct debit confirmation will live
- “Confirm” button is enabled
- Leads to “Card"
- No changes
- Leads to “Summary"
- Was “/success”
- Will contain a summary of provided information
- End of flow (although will lead to GOVUK service complete in the future)