Remove member tag after form submitted
I am looking to create a simple online vote function for members of a site. I plan to display the vote page based on them having a tag "vote" assigned to their member account. I will then use Perch forms for their vote. I would then like to remove the "vote" tag from their member account so they can not vote again. is it possible to use the
<?php perch_member_remove_tag('vote'); ?>
function from a form as it is submitted. I can see that you can add multiple apps to a form but how could I add this function or make it run after the form has been submitted?
Any ideas appreciated