Hi, I know this is covered in VM 3x now but I need a solution to make a customer comment field required at checkout in VM 2.6.22, please :) - without updating to VM 3x ;)
Regards
my joomla ver 2.5.28
jquery snippet to disable the chk out button until comment is filled
or hack the vm validation script to incl comment
or does the textarea just need a required class etc?
Hey, thanks for the tips! :) Yes I just need something that will not allow user to complete the check out if the comment field is empty - the simplest solution that will do the job. :)
Regards
Ok, so I ended up adding the "required" attribute to the textarea - as you suggested - and it works. :) The downside is IE9 (and lower) does not support this - is there a way to do sth about it?
Regards
Detect that old browser and send them to an update site? Or link to https://www.microsoft.com/en-gb/WindowsForBusiness/End-of-IE-support
Alternatively you may have to hack the validation script.
Thanks! I think I will leave it as it is for now, but if I would decide to change the validation script where should I start with?
Regards