Using Scripts with Forms You can define scripts within a form and leverage them to retrieve values and populate form fields or print output.