• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two form on Same Page

#10
[eluser]Yash[/eluser]
I catch the error but this something more weird .

this is the error
Code:
<form action="<?=site_url();?>blog/do_search" method="post" name="search" id="search">
  
  <p>
    &lt;input type="text" name="blog_search" id="blog_search" /&gt;
  </p>
  <p>
    <select name="search_area" id="search_area">
      <option value="post" selected="selected">In Posts</option>
      <option value="page">In Pages</option>
      <option value="pag">In Tags</option>
    </select>
    &lt;input type="submit" name="search" id="search" value="Search" /&gt;
  </p>
&lt;/form&gt;



form tag in this form goes away in runtime ....
and I left with

Code:
p>
    &lt;input name="blog_search" id="blog_search" type="text"&gt;
  </p>
  <p>
    <select name="search_area" id="search_area">
      <option value="post" selected="selected">In Posts</option>

      <option value="page">In Pages</option>
      <option value="pag">In Tags</option>
    </select>
    &lt;input name="search" id="search" value="Search" type="submit"&gt;
  </p>

anyways working how to stop this form remove form tag.


Messages In This Thread
Two form on Same Page - by El Forum - 07-31-2008, 03:43 AM
Two form on Same Page - by El Forum - 07-31-2008, 03:50 AM
Two form on Same Page - by El Forum - 07-31-2008, 03:57 AM
Two form on Same Page - by El Forum - 07-31-2008, 04:30 AM
Two form on Same Page - by El Forum - 07-31-2008, 04:37 AM
Two form on Same Page - by El Forum - 07-31-2008, 04:38 AM
Two form on Same Page - by El Forum - 07-31-2008, 04:40 AM
Two form on Same Page - by El Forum - 07-31-2008, 04:45 AM
Two form on Same Page - by El Forum - 07-31-2008, 04:45 AM
Two form on Same Page - by El Forum - 07-31-2008, 05:01 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.