I am looking using jquery/javascript for a way to re-direct users to a different url after the form action has been performed. It calls an appscript url that writes to a google spreadsheet. What I'd like is to redirect the users to a specific url that I chose. E.g. https://www.google.com or like. Below is my form:
<form action="https://script.google.com/macros/s/AKfycbwg0ASXLu-2awVG_F02o5S1u1pUyrYNHaAQvxzrObFj-47vFE8/exec"
                  id="courses" method="post" name="courses">
                    <h4>
                      Content Survey
                    </h4>
                    <fieldset>
                      <legend><span class="number">1</span> Module Info</legend> <input name=
                      "name" type="hidden" value="module1"> <input name="product"
                      type="hidden" value="XXX"> <label>Select which module you wish to
                      rate:</label> <select id="courses" name="clearness">
                        <option value="extremely_clear">
                          5: Extremely clear
                        </option>
                        <option value="moderately_clear">
                          4: Moderately clear
                        </option>
                        <option value="clear_nor_unclear">
                          3: Neither clear, nor unclear
                        </option>
                        <option value="moderately_unclear">
                          2: Moderately unclear
                        </option>
                        <option value="extremely_unclear">
                          1: Extremely unclear
                        </option>
                      </select> <label>Please rate the clarity of the content:</label>
                    </fieldset>
                    <fieldset>
                      <legend><span class="number">2</span> Additional Info</legend> <label>Was
                      this module helpful?</label> <select id="courses" name="helpful">
                        <option value="yes">
                          Yes
                        </option>
                        <option value="no">
                          No
                        </option>
                      </select>
                    </fieldset><input type="submit" value="Apply">
                  </form>
I found this solution, but could not make it work. Anyone got any ideas on how I can approach this?
Regards.
 
     
     
    