CMDBuild Forum

Insert UUID as Form Trigger

I don't understand how to use Form Triggers with JavaScript and I can't find any examples.   

I'm looking to add UUID upon insert into every Code attribute in my master SuperClass, and I believe this is what Form Triggers are for.

Can anyone help me or point me to some example of Form Triggers?  

Thanks!