Forms in Wiki

Here we experiment with HTML Forms in wiki. We look to hook the HTML plugin into the Transporter mechanism, such that the About HTML Plugin takes not of and Form Action requests, and looks for Page JSON in the response. If it finds this it renders a ghost page, otherwise it opens an external page if it finds a simple URI, or HTML in the returned JSON.

Below is an example a a simple HTML Form:

First name:

Last name:


Pressing submit shows replaces this web page with the returned JSON

# Passwords

Usernames and passwords can be securely stored in wiki using LastPass.

Let's look at how we do this. Below is a password field in a form. Fill in a dummy username and password and press submit. Details get sent securely over HTTPS to the Echo Transport.

Username:

Password:

Note: The characters in a password field are masked (shown as asterisks or circles).

What is interesting about this is that in combination with a browser extension like LastPass the username and password is securely stored in the browser cache.

This enables us to include information like authentication keys for user accounts and services in a relatively secure manor and interact with transporters. Naturally this should only be over HTTPS.

Note: there is an issue because the wiki form uses AJAX to send it's data. A form will not automatically fill with your stored local username and password as a result - lastpass.com

Despite this inconvenience, we are able to securely store usernames and passwords in wiki using LastPass using its __Form Fill__ function - lastpass.com

For more information on LastPass Forms see: - Form Fill Profile - lastpass.com - Create a Form Fill Profile - lastpass.com - Open All Sites - lastpass.com - Save All Entered Data - lastpass.com - Workaround - lastpass.com - Web site requirements - lastpass.com

# Alternative technique

An alternative but slightly less satisfactory technique to specifically add the form to LastPass using the Save All Entered Data feature

Due to the dynamic nature of the LineUp in wiki, this works best on the Welcome Visitors page, or at least a page you reliably open given a consistent LineUp.