Feb 12th, 2012, 1:28 AM
Hello Ben,
Thanks again for your quick reply.
I'm sorry for not adding a 'problem solved' reply myself, because, well...I solved the problem.
Since I'm trying to add as much inline and realtime validation as possible I knew I had to look for a solution that queries the database directly after an 'onblur' of the field that has to be unique.
I found that script here:
http://www.digimantra.com/technology/jav...n-ajaxphp/
I don't quite understand what's happening there (especially the pullAjax function), but I got it to work perfectly.
On an onblur of a duplicate bsn entry (that was the field that had to be unique) a message appears that that there's already a submission with that bsn number and the 'send' button is disabled.
Anyway, I'll check out the submission pre-parser and hooks manager modules, thanks for pointing me to them.
Thanks, Theo
Thanks again for your quick reply.
I'm sorry for not adding a 'problem solved' reply myself, because, well...I solved the problem.
Since I'm trying to add as much inline and realtime validation as possible I knew I had to look for a solution that queries the database directly after an 'onblur' of the field that has to be unique.
I found that script here:
http://www.digimantra.com/technology/jav...n-ajaxphp/
I don't quite understand what's happening there (especially the pullAjax function), but I got it to work perfectly.
On an onblur of a duplicate bsn entry (that was the field that had to be unique) a message appears that that there's already a submission with that bsn number and the 'send' button is disabled.
Anyway, I'll check out the submission pre-parser and hooks manager modules, thanks for pointing me to them.
Thanks, Theo