2 form error |
[eluser]Yash[/eluser]
When I try to load 2 form on page ..one's < form > get truncated. 2 form on same view coming from 2 different views. Code: <?php View Selection Source [mozilla] Code: <p> </p> <input name="blog_search" id="blog_search" type="text">
[eluser]LuckyFella73[/eluser]
As far as I know you can't nest a form into a form. More information about allowed elements in forms: http://www.w3.org/MarkUp/html3/forms.html In your script you open the first form via form-helper, then you open a second form within the first via plain HTML and in the end you have one closing form-tag.
[eluser]iainco[/eluser]
Why do you need 2 forms? Code: <form action="blog/do_search" method="post" name="search" id="search"> Is the above code what you're trying to achieve? Edit: You shouldn't give the submit field the same name and id as the form either. |
Welcome Guest, Not a member yet? Register Sign In |