 
         submit: ->
             $( ".form" ).submit()
+
+
+        # Returns a dictionary of all the form values
+        get_form_values: -> @queryStringToJSON $(".form").serialize()
 
         # _geopointDisplay = ->
         #   onMapClick = (e) ->

          # it's relevant; it could be irrelevant based on preceding values, or
          # a calculation.
          if (next_question.bind?.calculate?) or not
            XFormConstraintChecker.isRelevant( next_question, @queryStringToJSON( $( ".form" ).serialize()) )

              # If its a calculation, calculate it!
              $("#" + next_question.name).val _performCalcluate(next_question.bind.calculate)  if next_question.bind?.calculate?


          # Ensure that the question passes any constraints, if given. If
          # not, raise an alert.
          if not XFormConstraintChecker.passesConstraint question, answers
            alert "Answer doesn't pass constraint: #{child.bind['jr:constraintMsg'] or child.bind.constraint}"
            return false

          return true
