Generate salt before submit event, makes the field faster.