there are two types of forms. One containing 'allele1' and 'allele2' in the fields. Another containing the genotype. The form must have either of these fields or else lookups will be wild (only dbsnp or position and no way to resolve variants w/ same position or incorrect dbsnp). 

The code for handling the type 2 form is not included here as I haven't been able to test it on an actual form of that nature so I don't know how reliable it is.