Can you use g_form in a script include?
I am running a script include to check the current user and display assignment groups accordingly. I now have a requirement to look at the current customer on the form first before searching the user and then display assignment groups based upon that...