trying to get formassembly to auto submit when tpye preifll type is Open House. Any suggestions
```javascript<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script><script>//waits until the document loads to execute script$(document).ready(function() {var typeOH = document.getElementById('tfa_18');//alert('Thank you for attending '+ typeOH.value); // alert(typeOH.value == "Open House");if((typeOH.value == 'Open House') == true) { // auto submit if it equals "Open House" alert('Thank you for attending'); document.getElementById("tfa_0").submit();}});</script>```got it to work with $(".primaryAction").click();