Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

submit button works on web but not when sent as email

Status
Not open for further replies.

geerae

Programmer
Aug 5, 2001
17
US
I've got a procedure updating some table columns in a database. The code below updates as expected when viewing the page in a web browser. I've been asked to send the page in html to a client using outlook XP but when they click on the "Approve" button the procedure is not being updated. Is there a difference in how to submit the procedure from a email client vs. a web browser?

<FORM action=&quot; method=&quot;POST&quot;>
<INPUT type=hidden name=&quot;p_afe&quot; value=&quot;123456800&quot;>
<INPUT type=submit name=&quot;p_status&quot; value=&quot;Approve&quot;>
<INPUT type=hidden name=&quot;p_user&quot; value=&quot;DLATCH&quot;>
</FORM>

Thanks for any help,
geerae
 
In the web page you're sending to your client (via email), what is the &quot;Approve&quot; button? If it's not performing the EXACT SAME action as the submit button on your form, then the form doesn't know what to do. There's always a better way...
 
The code above creates the submit button labeled &quot;Approve&quot; and has exactly the same code behind it as when it was in the web page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top