clive-innovativedesign.gb
-
4/15/2010 9:00:18 AM
Forms
Hi Guys
I'm trying to add a normal form to a site [not a Bizform] this is the code I add:
<form method="post" id="call" action="http://domain.name/postcode-search.php"> <label> <input name="imageField2" type="image" class="search-btn" id="imageField2" src="~/tbg/media/images/search-btn.jpg" /> </label> <input name="search" type="text" class="search-field" id="search" />
But there seems to be 2 errors in doing this:
1. The URL seems to default to the page the form is on, e.g if the form is on defaul.aspx when I click the submit button it's redirected to default.aspx not the URL I have in the action of the form.
2. When I edit a page, non of the changes are saved.
All I really want to do is send the single text fields [search] data to a remote script.
What I'm I doing wrong, or is there another way to do this?
Many thanks
Clive
|