assuming that name of the form is jump;
-----------------------------------------
function SubmitSummary()
{
document.jump.action = "timeentry_summary.cfm";
document.jump.submit();
}
<input type="button" value="Submit Summary" onclick="SubmitSummary()">
------------------------------------------
Haven't tested it but it should be fine.
Repeat it for the other form destination and Bob's yer uncle.
Cheers, Craig.
-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: 01 November 2001 13:50
To: CF-Community
Subject: Two submit buttons..javascript again sorry
Umm..I know several of you have done this before.
Single Form.
One button to go one place..
Other button to go another place..
<!--- END Data Validation --->
<input type="submit" value="Finished" > (to go to timeentry_summary.cfm)
<input type="submit" value="Add More" > (to go to timeentry1_action.cfm)
</FORM>
Uhh..what's the javascript to do this again ?
:)
-Gel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists