Hi,You can associate a tpl to do so. Create perl module having the functionality of inserting the data to the database and call it from tpl.Thanks,Dhiraj