SOunds like one of 2 things;
1. either all is well and the debug is on, but you don't really have an error.
OR I think,
2. the record is posted as the code is OK through the write to the database, then the server does not like some aspect of the add_success sub (which displays the added record).
Depending on what you have done to the record disply, it is concievable that a blank record could CAUSE the server error. Do you get a server error when the the blank field is not blank?
1. either all is well and the debug is on, but you don't really have an error.
OR I think,
2. the record is posted as the code is OK through the write to the database, then the server does not like some aspect of the add_success sub (which displays the added record).
Depending on what you have done to the record disply, it is concievable that a blank record could CAUSE the server error. Do you get a server error when the the blank field is not blank?