05-05-2011 06:41 AM
I’m using the DPM method. Is it possible to split the x_exp_date HTML field into two fields (month and year) and combine them back on submittal.
Since the DPM method doesn’t allow you to go back to the server, I’m hoping this can be accomplish with some java script before the page is submitted to Authorize.net.
Has anyone done this?
05-16-2011 10:29 AM
I've never heard of anyone doing that, so I can't really give any advice here. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any feedback. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.
Developer Community Manager
08-09-2011 11:12 AM
var oMonth = document.getElementById("Expiry_Month");
var oYear = document.getElementById("Expiry_Year");
var oExpiryDate = document.getElementById("x_exp_date");
oExpiryDate.value = oMonth.value + oYear.value;