[plt-scheme] Suggestion about formlets and (X)HTML

Thomas Chust chust at web.de
Mon Jan 5 15:35:11 EST 2009


Hello,

when one uses send/formlet to render a web form and send it to the
browser, the result is always invalid (X)HTML, since a form element
should not appear as the root of a document. Thus this procedure
encourages bad programming practice.

I think it would be nice if send/formlet allowed for some way to wrap
the form element it creates in a proper (X)HTML document. Alternatively
the procedure could simply be deprecated since embed-formlet can be used
for the same job without the problems.

cu,
Thomas



More information about the plt-scheme mailing list