I am trying to urlencode this string before I submit.
queryString = \'eventName=\' + evt.fields[\"eventName\"] + \'&\' + \'eventDescription=\' + evt.fie
Try this:
urllib.pathname2url(stringToURLEncode)
urlencode won't work because it only works on dictionaries. quote_plus didn't produce the correct output.
urlencode
quote_plus