Hello Experts,
I have some fields on the view corresponding to a value node. One of the fields is Phone number. When the user enters the phone number and moves to next field, I want to trigger a JavaScript function that formats the phone number.
I tired like this:
<script for="//CONTEXTNODE/ATTRIBUTE" event=onblur type="text/javascript" >
function()
{
-- code;
}
</script>
But, it's not getting triggered. Can someone please help me with this?
Thank you.
-Ezhno.