Subscription Forms and ASP.Net |
To embed a form inside an ASP.Net application, you cannot just copy the form code and have it work. You will need to do the following: 1. Get the "action" from the form tag (for example http://www.domain.com/iem/form.php?form=X). 2. Remove the form tags around the form. 3. Find the submit button (for example <input type="submit" value="Subscribe">). 4. Change the submit button to an onclick event like: <input type="submit" value="Subscribe" onClick="this.form.action='form_action'; this.form.submit();"> Where form_action is the url you got from step 1. and your subscription form will now work in your ASP.Net application. |