www.webdeveloper.com
Results 1 to 2 of 2

Thread: Form Help

  1. #1
    Join Date
    Mar 2014
    Posts
    1

    Form Help

    I wrote a simple html form that creates cases in Salesforce. I need a javascript statement in the form to send the user to a different thank you page once submitted.

    Example: For type I need the user to select between types

    <label for="type"><strong>Type</strong></label>
    <select id="type" name="type"><option value="">--None--</option>
    <option value="Website Issue">Website Issue</option>
    <option value="Magazine Issue">Magazine Issue</option>

    If the user selects Website issue and submits the form they get sent thanks1.html
    If the user selects Magazine issue and submits the form they get sent to thanks2.html

    I have been working on this for a week with little success and was hoping I could get nudged in the right direction here.

    Thanks in advance for any help

  2. #2
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,143
    Here's a quick example:
    http://codepen.io/anon/pen/eobfk/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles