getId() public method

ID field of form for unique identification.
public getId ( ) : string
return string Unique tag ID.
 function testFormAttributes()
 {
     $tag = new SimpleFormTag(array('method' => 'GET', 'action' => 'here.php', 'id' => '33'));
     $form = new SimpleForm($tag, $this->page('http://host/a/index.html'));
     $this->assertEqual($form->getMethod(), 'get');
     $this->assertIdentical($form->getId(), '33');
     $this->assertNull($form->getValue(new SimpleByName('a')));
 }