Thank you, that was helpful but I am still a little short. (Part of my problem is also that the page I need to update was created with your previous validation toolkit which works very differently and is no longer avail through Dreamweaver now that I have updated to the newer Super Suite. - thus I it would appear that I need to delete all of the old validation on the checkout page and start fresh with your newer system.)
Two additional questions:
I see how this code will require validation if another field has a value, but I need it to validate only if that field has a specific value. i.e. shipping_state = NY. How would I amend this code for this.
<?php echo((isset($_POST['callMe'])?$_POST['phoneNumber']:"(222) 222-2222")); ?>
Also, is there a reason in this example you sent that you filled in the phone number (222)222-2222 and did not just leave it blank as ""?
All the above will be necessary for the future but in regard the site that I am currently working can you show me how to edit the code below so that it could be added to validate the county field based on the shipping_state_province value being NY? It appears that I may need it to validate (require the county field) for both NY and PA so if you could also show me the adapted code if I need both NY & PA that would be great. (This would be much quicker / easier in this case then transferring to the newer Webasssist system.)
WAValidateRQ(document.forms[2].shipping_state_province,'- Please select Shipping State / Province',document.forms[2].shipping_state_province,0,true,'select');
Thank you.