Just put this code into any site with clicks tracking code:
<form action="" method="GET"> Refer: <input type="text" name="a_aid"/> <input type="submit" value="Apply"/> </form>
This assumes that URL parameter "Affiliate ID / referrer ID" is the default a_aid. If you have different parameter, then change it.