Quick and Clean PHP Forms
Subject:   Alternative form class
Date:   2007-09-16 05:51:15
From:   CraigFrancis
Sorry to use a link (page too long to copy/paste).

But I have created an alternative to this form setup, the theory is to make it as obvious as possible on how it works - primarily because we work in a team of developers, a number of which just focus on HTML code (not PHP)... and it seems to be quite frequent that they need to change something trivial, like making a field optional... and it saves time if they can do it themselves, instead of distracting the PHP developers.

Although they have to be careful not to remove something that is required for a reason (like the email address on a register form).

Anyway... my version can be seen here: