Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active March 22, 2021 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wplit/e9f14a1429fb139db08d37779d0adc3f to your computer and use it in GitHub Desktop.
Save wplit/e9f14a1429fb139db08d37779d0adc3f to your computer and use it in GitHub Desktop.
Do something when OxyExtras Fluent Form is submitted (add to fluent form component > advanced > javascript)
(function($){
$('#%%ELEMENT_ID%% form').on('fluentform_submission_success', function() {
/* Do something here like triggering a click on the trigger for the lightbox */
$( ".click-trigger" ).click();
});
}(jQuery));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment