17 Replies Latest reply on Dec 22, 2011 2:23 PM by CalLauren

    Calculating average ignoring blank fields - something wrong with my script


      Hi there - I'm trying to calculate an average function for 4 fields all with output values selected from a dropdown menu in a form.  The fields are named pk1, pk2, pk3, and pk4.  I'm getting various problems (namely that pk1 isn't defined) with the following (and I'm not knowledgeable enough with this to know what's wrong).  Any ideas of what can be changed?


      Screen shot 2011-12-21 at 12.43.11 PM.png

      Thanks for any help!