When the form is submitted, have the action page query the
database to see if the name already exists. If it does, do a
CFLOCATION back to the form page. You can put a message in the
CFLOCATION URL that says:
?msg=The name already exists. When you load the form page,
check to see if URL.msg is defined. If so, display the
message.