Alex's Support Forums » Hacks

Graceful exit from contact form (Lite)

(1 post)
  • Started 8 months ago by nortongulch
  1. nortongulch
    Member

    I hate to leave a user with no way out if he/she decides not to complete a form, etc.

    So, I've added a 'cancel' button to the end of the contact.php page right after the submit button:

    <input type="submit" value="Send" id="sendme" title="Send your message" />

    <input type="button" value="Cancel" onclick="window.location.href='../index.html'">
    <!-- I knew where to send user, but otherwise use generic onClick="history.back()"> -->

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.