$form = new Varien_Data_Form(); $form->setAction('http://example.com/submit-form.php');In this example, a new Varien_Data_Form object is created and then the setAction method is used to set the action URL for the form to "http://example.com/submit-form.php". Package Library: Magento PHP Library