HTML Form Entry Numeric Concept Datatype answer validation

Application Name: Others - HTML Form Entry Version Number: 2.0.1

Question: Is there any way to override or customize the error message that the numeric concept datatype has? See image below. (The red highlighted text that says “Cannot be greater than 43”) **

This appears to be driven from a message property, so you should be able to customize this. It appears that this message should have a proper french translation incorporated in the latest release, so if your main objective is just to localize the message to French, then I would recommend upgrading to the latest release of htmlformentry module.

Mike

@mseaton Thank you for replying sir! But it is not my objective to localize or translate the message. I meant customizing the error message in terms of design. Instead of having the the text highlighted in red, maybe I could change color, or disable it, and create my own error message. Where can I find this?

@zachraduban did you get a chance to look at this? https://wiki.openmrs.org/display/docs/HTML+Form+Entry+JavaScript+Reference

1 Like