When using the HTML API, the value attributes for things like <input name="SetCurrentShippingMethod" value="shippingMethodId" type="hidden"> are hard coded, but you can change where TC look with the syntax <input name="SetCurrentShippingMethod" value="shippingMethodId:altFieldName" type="hidden"> but this isn't documented.