Ajax-form working

need the right query to publish event