This topic is locked

HTMX Forms Served From PHPRunner

8/6/2026 18:10:34
PHPRunner Tips and Tricks
S
salus2 author

Greetings PHPRunners,
I wanted a way to serve customized HTMX web forms directly from a database for security reasons and came up with the following...

  1. Create a table in the database (see screenshot)
  2. Configure a Custom view in PHPRunner (see screenshot)
  3. Insert HTMX code into Container, modified by Claude to use Shadow DOM (see attached files)

The Shadow DOM is required to apply custom style to the forms and bypass PHPRunner styles.

You can see the results at https://customdataservices.net/site/HTMX_Forms_list.php

Hope you find this useful!

sql.png
custom.png
htmxdemo_shadow.html
htmxinvoice_shadow.html
htmxorderform_shadow.html
Sergey Kornilov admin 8/7/2026

This is pretty cool! Never worked with HTMX before, seems quite interesting.

S
salus2 author 8/9/2026

I added several new examples of embedding both HTMX and HTML documents in PHPRunner containers.

You can see the results at https://customdataservices.net/site/HTMX_Forms_list.php?goto=7

FYI, the Calendar & Day Planner, Event Budget, Gantt Chart, Sales Chart examples were Excel templates that Claude Opus 4.8 converted to HTML.

Given a SQL schema, an interface example, and a little A.I...

Hope you find this useful!