I'm trying to a) preset the multiship country and b) have a drop-down with several addresses that will allow the customer to prefill each multi-ship as they like.
I've just about got it all working, the only problem I'm running into is that I don't think I am presetting the coutry name and state names properly. I gather that I should be using fc_ValidateLocationName("customer_country"); or rather fc_ValidateLocationName("shipto_0_country"); but every time I try to run this I get data array errors. I think this is because the country wasn't initialized properly. And when I run it on page initialization the fc_ValidateLocationName function can't be found.
PS: this is kind of niggling, but I couldn't set the fields names with jQuery because it seems like the field names might be changed after initialization or something because they simply wouldn't set like: $("shipto_" + current_id + "_company").val(camp_name[current_val]);