SCREENVERSION()
returns the platform version (Draft, Test or Published) of the submitted form
APPVERSION