View Single Post
  #7 (permalink)  
Old 07-05-2008, 05:00 AM
amitshah amitshah is offline
Junior Member
 
Join Date: Jul 2008
Location: Ahmedabad
Posts: 9
Default

Ok.. I found the solution. getAttrib() function we can use to get name and other attribute of the form which we have set in model.

HTML Code:
<form id="<?php echo $this->form->getAttrib('name'); ?>" enctype="<?php echo $this->form->getAttrib('enctype'); ?>" action="<?php echo $this->url(array('action'=>'edit')); ?>" method="post" >
Cheers.
__________________
Amit Shah
Reply With Quote