Calvin Alkan Gravity Forms contains a "no conflict mode" setting, that, when enabled, will remove any third-party JavaScript from its pages, including CommandUI. If you want to use CommandUI on Gravity Forms pages, you must not enable "no conflict mode"