Hi,
I need help on how to specify the URL when using text input fields in forms.
Here is my problem.I dynamically create the content of a page ZZZ.php by passing an argument(content=thismatter) to the URL from the index page.So I have new page with the URL
http://XXX/YYY/ZZZ.php?content=thismatter
Now I need to search for some criterias on this dynamically created page for which I use a form with a text field on page ZZZ.php and enter the criteria to be searched.On action performed I need to regenerate this page with that filter condition.
<form action="http://XXX/YYY/ZZZ.php?content=thismatter">
<input type=text name=searchfield>
</form>
The problem I am facing is that the URL comes up as
http://XXX/YYY/ZZZ.php?searchfield=1222 thereby not generating the dynamically generated data which should be generated using content=thismatter.
I tried hard coding the value too check it out but that too does not work.
I havn't used forms a lot so if someone could guide me as to how to proceed I'd appreciate it.
Thanks