Hi Doug,
In my Javascript file within stageshow settings I have the following:
function stageshow_AddCustomHTMLValues()
{
document.getElementById("saleCustomValues").value = "";
saleCustomValuesObj = document.getElementById('saleCustomValues');
var member = document.getElementById('stageshow_shine_member');
var mailinglist = document.getElementById('stageshow_shine_mailinglist');
var howtocollect = document.getElementById('stageshow_shine_howtocollect');
if ( (saleCustomValuesObj === null) || (member === null) || (mailinglist === null) || (howtocollect === null) )
{
return;
}
var saleCustomValue = saleCustomValuesObj.value;
if (saleCustomValue.length > 0)
{
/* Add a line separator for each custom HTML Element */
saleCustomValue += "#";
}
else
{
var saleNoteToSellerObj = document.getElementById('saleNoteToSeller');
if (saleNoteToSellerObj !== null)
{
/* "Note to Seller" Element is present */
if (saleNoteToSellerObj.length > 0)
{
/* User has entered a value for the "Note to Seller" add a line separator after it! */
saleCustomValue += "#";
}
}
}
saleCustomValue += member.value;
saleCustomValue += "#";
saleCustomValue += howtocollect.value;
saleCustomValue += "#";
saleCustomValue += mailinglist.checked;
/* Store this as the value of the hidden form element */
saleCustomValuesObj.value = saleCustomValue;
}
and under function stageshowCustom_OnClickCheckout I have the following:
function stageshowCustom_OnClickCheckout(obj, inst)
{
stageshow_AddCustomHTMLValues();
return true;
}
You could play with these to say: If the postage option is checked put the word POST in the note to seller field. This may help?
The page this is on is shineboxoffice.co.uk/box-office if you want to see what and where these fields are. A lot of the above code you will not require.
Chris