subset

Form validation - what makes sense?

19 November 2008

We just had an impromptu conversation over here about validating phone numbers that morphed into validating email addresses and more.

Adam brought up the fact there are a lot of email addresses that don't pass the basic regex validation that a lot of sites use. In fact, there was a good discussion of this very issue on Slashdot in a larger article on regexes. One comment:

Tagged:

Allowing node publishing/unpublishing for a non-node admin

22 July 2008

So I'm working on a project now where nodes are mass-imported from a third party. By default, these nodes are unpublished until the delegated party can add additional information that the import can't capture. We publish the node when it's through being reviewed and updated.

To be clear, the workflow looks like:
1) Import nodes (CCK type: "Item"), default status is Unpublished.
2) User with "Reviewer" role looks at the queue of Items that needs reviewed
3) Reviewer reviews Item nodes, then sets them as Published.

Here's the problem though:

Tagged: