posted 19 years ago
We have message textbox bounded to a model field. Code given below.
<messageTextInput model="${bindings.Notes}"
columns="85"
maximumLength="2500"
disabled="${uix.data.Child.txtNotesD}"
rows="6" required="yes"
prompt="" id="Notes"/>I don't want the label to be displayed so I have specified the prompt attribute as "". But when no value is given to this field and when we try to submit the form, it shows error message as '"" cannot be null.' I want the error message to be as "Notes cannot be null". If I specify the prompt value as "Notes", I get the expected message. Is there any other way without specifying the prompt value?