Feb 11th, 2012, 10:25 AM
Hello,
I would like to implement a test for uniqueness of one of the fields (called 'bsn') and reject a submission if that is not the case. I know that this can be done with API processing, but I'd rather not make the switch to that, I lack enough knowledge for that.
What I did do however is make the field unique, that seems to do exactly what I want: it deleted a few hundred duplicate submissions and prevents further submissions with a bsn that is already in the database.
The only problem is that after submission the user ends up on an error page without any real information why their submission failed.
Is there a not-too-difficult solution to this?
Thanks, Theo
I would like to implement a test for uniqueness of one of the fields (called 'bsn') and reject a submission if that is not the case. I know that this can be done with API processing, but I'd rather not make the switch to that, I lack enough knowledge for that.
What I did do however is make the field unique, that seems to do exactly what I want: it deleted a few hundred duplicate submissions and prevents further submissions with a bsn that is already in the database.
The only problem is that after submission the user ends up on an error page without any real information why their submission failed.
Is there a not-too-difficult solution to this?
Thanks, Theo