First off, unfortunately, that embed point is not "active". It's there as a proof-of-concept, but the template language needs a feature added so I can retrieve the embed contents. So far SV have resisted making this update to the template language.
Fortunately there is a template setting you can use.
For the field, Client-Side tab, [onChange] section, "JavaScript Hand Code".
You can put any JavaScript you like in here, but I recommend making this a simple function call - like
'ValidateSomeField(this)'
Passing "this" as a parameter is similar to "self" in clarion - the function will have the "entry field element" in "this" - which means you can then check the value, manipulate the value, and so on.
Cheers
Bruce