Hi guys,
I have a custom field type and I want to add a validation message as the attached picture shows:
How to have exactly this message?
I"ve tried to use the following:
errorCollectionToAddTo.addErrorMessage(config.getCustomField().getFieldName()+": "+i18n.getText(ALLOW_SINGLE_VALUE_MESSAGE), Reason.VALIDATION_FAILED);
But, the displayed message was at the begining of the form not as the picture shows. Can you please help?
thanks,
Rosy