         field = $(event.target)
         fieldId = $(field).attr('id')
         bFieldVal = $(field).val()
-        type = fieldId.split('_').shift()
+        type = fieldId.split('_').slice(0,-1)
         try
-          sField = if type is 'address' then type+"_s0" else type+"_s"
+          type.push("s")
+          sField = type.join("_")
           $("[id=#{ sField }]").val(bFieldVal)
         catch e
 


          xhr = new XMLHttpRequest()

          xhr.addEventListener "readystatechange", =>
            console.log @readyState

            if @readyState is 4
              if @status is 200
                console.log "status: #{@status}, responseText: #{@responseText}"
                window.location.replace "#{window.location.origin}/order_success"
              else
                console.warn "Request Error: #{@statusText}"

          xhr.setRequestHeader "cache-control", "no-cache"

          xhr.send formData_formatted_JSON


  countryValidator: ->
