Skip to Content
avatar image
Former Member

How to change the smart filter bar mandatory fields alert text message

I am integrated smart filter bar into my application. I set mandatory to two inputs in our smart filter bar control configuration.once i click on go button without fill inputs then i got alert message with message "Fill All the required fields". How can i change this message to our custom message.alert.png

alert.png (24.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 02 at 06:14 PM

    Hi Murali,

    If you just need to change the text of the Error Message, you can do it in the following way :

    In the initMethod() of the view, get the smart filter bar by it's ID & set the error message you want to display in the following way :.

    var oSmartFilterBar = this.getView().byId("smartFilterBar");
    
    oSmartFilterBar._sMandatoryErrorMessage = "Fill me"; //Your custom Message

    Thanks,

    Vaibhav

    Add comment
    10|10000 characters needed characters exceeded