Form designer uipath

How to write the specific javascript code in advanced logic section in form designer.Can someone help me?