Joelo
MIS
- Sep 27, 2003
- 61
Please I have a form with two submit buttons. Each to cause the user to do different thing (Save Form and Submit Form)
On clicking the SAVE Form Button...Information entered by the user is saved for editing later and On clicking
the SAVE Form Button...Information entered by the user is validated and submitted into the database
Response.Write "<form name=""device"" onSubmit=""return checkrequired(this)"" action=""devicedatabaseform.asp"" method=""post"">" & VbCrLf
...................................
..................................
...................................
response.write(" <td align=left><input type=""submit"" name=""SAVE"" value=""Click Here to SAVE FORM"" onclick=""parent.passDate(this.form.x_TESTDATE.value);""></td>")
response.write(" <td align=left><input type=""submit"" name=""Action"" value=""Click Here to SUBMIT FORM"" onclick=""parent.passDate(this.form.x_TESTDATE.value);""></td>")
response.write(" </form>")
thanks
On clicking the SAVE Form Button...Information entered by the user is saved for editing later and On clicking
the SAVE Form Button...Information entered by the user is validated and submitted into the database
Response.Write "<form name=""device"" onSubmit=""return checkrequired(this)"" action=""devicedatabaseform.asp"" method=""post"">" & VbCrLf
...................................
..................................
...................................
response.write(" <td align=left><input type=""submit"" name=""SAVE"" value=""Click Here to SAVE FORM"" onclick=""parent.passDate(this.form.x_TESTDATE.value);""></td>")
response.write(" <td align=left><input type=""submit"" name=""Action"" value=""Click Here to SUBMIT FORM"" onclick=""parent.passDate(this.form.x_TESTDATE.value);""></td>")
response.write(" </form>")
thanks