Hi,
I have a bizform that i need to validate. The bizform contains an a field that i've hidden and is populated via a jQuery plugin i wrote as the display requires selection of 4 images. This works great.
Its been requested that the form validates via ajax. Ticking the "enable ajax" on the bizform container does the trick, but I cant get the JS to run to create the images.
I've tried cloning the bixform container, and in the OnContentLoaded() function put
ScriptHelper.RegisterStartupScript( viewBiz, typeof(string), "blah", "<script type='text/javscript'>var a = function(){alert('blah');};a();</script>" );
but it doesnt run. If i modify the script function to be invalid i'll get a 500 error. but I cant get it to alert at all.
Any ideas on what i'm doing wrong ?