You are here: irt.org | BBS | Re: Forms - how to use dual "actions"? [This BBS is closed]
Posted by Martin Webb on August 20, 1998 at 03:37:34:
In Reply to: Forms - how to use dual "actions"? posted by Bob Tennent on August 18, 1998 at 12:33:51:
Tricky.
A couple of things to point out:
1. Not all browsers support mailto: in forms.
2. You cannot submit a form programmatically where the action is mailto: - it fails quietly.
3. Not all browsers allow you to change the forms ACTION attribute.
A solution would be to use a frameset with a hidden frame. When the submit button is pressed copy the form data to a form on the hidden frame. Use the forms submit () method to submit the form on the hidden frame to the cgi script. Allow the visible form to submit using the mailto: action as normal.
Follow-ups:
You are here: irt.org | BBS | Re: Forms - how to use dual "actions"? [This BBS is closed]