You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to change language of Required Message in vbcs?

edited Aug 8, 2019 7:02AM in Visual Builder 5 comments

Content

I am using below code to show the required message whose form field value is empty so that on click of Submit Button , error message should come "You must enter a value" by using tracker.showMessages(). But I want to translate this message in respective languages.I have used the below code for translation and giving required="true" message , but it is not working and message is displayed in English Language only in other languages also.

 

PageModule.prototype.showErrorMessages = function(translations)

{

var tracker = document.getElementById("tracker");

if (tracker.valid === "valid")

{ // submit the form would go here

return true;

}

else

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!