form rendering through tpl file I want to render drupal 6 form through tpl file.
for that 
1. I have written mytheme_theme in template.php file and there I have define my template forms arguments and path for tpl file.


I have written tpl file
in form function at the end I have called theme by '#theme' =&gt; 'my_template'


doing all these thing my from is rendering through tpl but now its not going into submit_hander() and validation.

can any one help me these? I am not getting what's wrong in these.

see in my template.php contain:

function cs_theme(&amp;$existing, $type, $theme, $path) {
  $hooks = zen_theme($existing, $type, $theme, $path);
  // Add your theme hooks like this:
  /*
  $hooks['hook_name_here'] = array( // Details go here );
  */

  // @TODO: Needs detailed comments. Patches welcome!

  $hooks['my_theme_example'] = array(
                  'arguments' =&gt; array(
                  'order' =&gt; null, 
                  ),
                  'render element' =&gt; 'form',
                 'template' =&gt; 'mymodule_template',
                 'path' =&gt; drupal_get_path('theme', 'theme_name') . '/templates',
              );

  return $hooks;
}


In these way I have printed all the form fields
in my .tpl file is:

   &lt;?php print drupal_render($variables['order']['logo']);?&gt;
You need rewrite 'form' like this:

/**
 * Implements hook_theme_registry_alter().
 */
function mymodule_theme_registry_alter(&amp;$theme_registry) {
  $form_registry = &amp;$theme_registry['form'];
  $form_registry['function'] = 'mymodule_form_theme';
}
function mymodule_form_theme($element) {
  // I'm not sure that $element has 'from_id' but you could pass it if you need.
  if ($element['form_id'] == 'yours_form_id') {
    return theme_form($element);
  }
  // Else return what you need I guess that better to use hook_theme()
  // and then call theme() function.
}


Look at theme_form() to understand what variables need to pass in form tag.
I don't understand why do you need this. What is the reason to use template file?