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:
Double click on the page-item above to view the HTML of teh form. Forms are rendered using the about html plugin. You can see the following form action:
https://faasd.platform.earth/function/activity
Pressing submit sends an HTTP POST with the form-encoded data contained in the form. If this endpoint return valid wiki-page-json then wiki will render a ghost-page to the right of the page the form is on.
shows replaces this web page with the returned JSON
# See also