Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Nov 22, 2022 5:50 AM UTC

I was driving at the fact that the comment says “hide” but the code in fact calls .show().

 

4 replies

SanfordWhiteman
User Group Leader
User Group Leader
Nov 21, 2022 8:55 PM UTC

Hmm, what do you think this code is doing? 🙂 Particularly line 3!

form.onSuccess(function(values, followUpUrl) { //get the form's jQuery element and hide it form.getFormElem().show(); document.getElementById('confirmform').style.visibility = 'visible'; //return false to prevent the submission handler from taking the lead to the follow up url. return false; });

 

Translate
dbarbaAuthor
Level 2
Nov 22, 2022 5:23 AM UTC

This code will show thank you message in popup on submit the form.

 

My  concern is only why submit say's Please wait! and disabled attributed prop on submit button.

Translate
SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Nov 22, 2022 5:50 AM UTC

I was driving at the fact that the comment says “hide” but the code in fact calls .show().

 

Translate