This section is still under development.

Currently, only the raw code examples are available.

<!DOCTYPE html> <html xml:lang="en" lang="en"> <head> <title>Title</title> </head> <body> <form id="testform"> <label for="test">Label text</label> <input type="text" name="test" value="default" /> </form> </body> </html> <?php declare(strict_types = 1); $input = new FormData( 'testform', ['test' => 'Test Value'] ); $renderer = new FormDataRenderer(); $renderer->render( $contextDoc->documentElement, $formData ); <!DOCTYPE html> <html xml:lang="en" lang="en"> <head> <title>Title</title> </head> <body> <form id="testform"> <label for="test">Label text</label> <input type="text" name="test" value="Test Value" /> </form> </body> </html>