web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Webform step - webFormClientValidate is undefined

(0) ShareShare
ReportReport
Posted on by 2,822

Hi All,

Thanks for reading my post.

I'm using Dynamics 365 Portal in which I'm using Web Template which is calling Webform. Webform has Webform steps. Under Webform step I've written down General Validation Javascript as mentioned here.

Problem is webFormClientValidate is appearing as undefined.

My code is almost the same:-

if (window.jQuery) {
   (function ($) {
      if (typeof (webFormClientValidate) != 'undefined') {
         var originalValidationFunction = webFormClientValidate;
         if (originalValidationFunction && typeof (originalValidationFunction) == "function") {
            webFormClientValidate = function() {
               originalValidationFunction.apply(this, arguments);
               $("#wp_websubdivisionclearance").val(JSON.stringify(getFormData()));
               return true;
            };
         }
      }
   }(window.jQuery));
}

Thanks alot!

I have the same question (0)
  • Suggested answer
    Luis Nogueira Profile Picture
    on at

    Hi Zohaib,

    Have you tried entityFormClientValidate  instead?

    community.adxstudio.com/.../

  • Zohaib Uddin Khan Profile Picture
    2,822 on at

    Thanks for the reply.

    Since, I'm using Webform rather than EntityForm, so webFormClientValidate is more correct rather than entityFormClientValidate.

    Kindly let us know, if you think the other way. Cheers.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans