Posted by Surya kant - over 11 yearsago
There are two way...
1) moveField()
// YourForm.class.php
$this->getWidgetSchema()->moveField('field2', sfWidgetFormSchema::AFTER, 'field1');
The constants available for use with moveField() are BEFORE and AFTER.
2) However, the method I was originally familiar with (but...