Skip to main content
Nintex Community Menu Bar
Solved

Branding of error messages with custom javascript in Submit

  • July 18, 2017
  • 3 replies
  • 76 views

Forum|alt.badge.img+5

Hi all

I have a custom JS function that is called on Client Submit button. The JS function does some math validation and if the validation fails, I am showing an alert message. I want to show this error message as standard Nintex forms error message. Not in alert. I did not find any documentation on how to show custom error messages. If there is some documentation, please point me to right location. 

TIA

Best answer by fhunth

You could add your messages inside the class named nf-validation-summary

3 replies

Forum|alt.badge.img+16
  • 898 replies
  • Answer
  • July 20, 2017

You could add your messages inside the class named nf-validation-summary


rhia
Forum|alt.badge.img+15
  • Novice
  • 760 replies
  • July 23, 2017

Hi ‌ - did ‌'s response help you?  If so, please mark it correct!


Forum|alt.badge.img+5
  • Author
  • 21 replies
  • July 26, 2017

Hi Fernando

Thank you for the tip. I tried adding a custom message to summary div but did not work for me. However, I ended up creating a validation rule and I was able to get my business rule with validation rules. Not ideal but worked.