I'm changing the value of drop down field fid_20 to "Submitted" using javascript but the workflow is not getting executed.

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
"<img onclick='javascript:( $( \"#_fid_20\").val(\"Submitted For Certification\") ); return true;'  src='ss'>"


I tried using <a> and buttons (formula url)  too but no luck.


The Workflow works fine when I use the drop down button to change the value.



Photo of Tribs

Tribs

  • 20 Points

Posted 4 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
Photo of Tribs

Tribs

  • 20 Points
it changes the value of the drop down but still does not fire the work flow.
 I also want to use this functionality to trigger additional functionality like, when someone presses the REJECT button it gives them an option to enter the Rejected reason and not submit the form.
I used this in formula URL "javascript:($(\"#_fid_20 option\").filter(function(index, option) {\n  return this.text == \"Submitted For Certification\";\n}).attr(\"selected\", true));"