Classic Domino and HTML 5

Sometimes a simple web application based on classic Domino is in place.

However Domino has not been updated in this area for many years.
If you create a form and use it on the web it will create a very old HTML document type.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

In 2024 you probably want to use HTML 5 and some of the newer features in it.

Fortunately you can change it to HTML 5.


Add a field, "Computed for display" type, named $$HTMLFrontMatter and set it to "<!DOCTYPE html>"

Here is simple example using HTML 5 features.

Adding the "required" property to the field for HTML 5 client validation

In browser this will show if you try to submit an empty field

Also you can see the HTML 5 feature of showing SVG graphics.

Note ... on Database properties you need to turn off "Use JavaScript when generating pages" to make validation work

Posted on 05/28/2024 02:57:04 PM CEDT