         newPlaceholder = inputString + remainingString
         $(".survey-text-date").attr("placeholder", newPlaceholder)
         date_index += 1
-    console.log date_index


  # Respond to conditional inputs - click events
  $(".reveal-next-input").click (e) ->
    console.log "showing hidden input"
    changeFocusDirect($(this), $(this).nextAll('.hidden-input'))




  # Submit a survey answer
  @submitAnswer = (questionForm) ->
    $.post(questionForm.attr("action"), questionForm.serialize(), (data) ->
      return
    , 'json')

  # Respond to user clicking different questions
