Reply To: Collect customer address in backend

Hi

Just in case anybody else asks, we added the following code to Document.ready

var hometel;
do { hometel=prompt(“Home Telephone”); }
while(hometel.length < 1);
jQuery('[name=customtitle]').val('Home Telephone');
jQuery('[name=customvalue]').val(hometel);
addtoForm();

Repeat for as many fields as necessary. It works a treat.