On submit, Hide fields, show results, send mail and be able to clear results
-
I have the pro version and I am trying to perform multiple onclick events. I would like to hide all the fields when someone hits calculate, and just show the calculated results field, however, I also want it to submit an email of the data to me on the same onclick event. I can hide the fields and show just the results but when the submit command fires it brings up the form again (Which is now blank). The Calculation that is showing I would want them to disappear after hitting refresh or navigate away from the page or maybe a clear button. I have found that the calculation results show even after I clear the cache, go incognito, etc… not sure how to clear it.
The jquery I am using is jQuery(‘.hide’).removeClass(‘hide’);jQuery(‘.show’).addClass(‘hide’);jQuery(this).closest(‘form’).delay(8000).submit();I do not need the delay, but I use it to show just the results for a while before the submit command brings up the form again. I am not sure how to clear the results. The form is at https://marlenacavanaugh.com.
Any help would be greatly appreciated.
- The topic ‘On submit, Hide fields, show results, send mail and be able to clear results’ is closed to new replies.