I have a two boxes that were previously input elements and are now inline html editors. Can any other element that are not a 'input' element be added onto the validator's list of things to check. The use is in a list view. Or would the only solution be having some hidden elements?
Thats basically it. The work around i have otherwise is to include a hidden input element after each of the the divs as so:
Then the custom validation on the datasource iterates through the input elements and validates the above. Any way to skip having the extra html?
Thanks,
Matt
1.
<
div
class
=
"WebDescriptionEditor"
data-bind
=
"value: WebDescription"
data-role
=
"editor"
2.
contentEditable
=
"true"
3.
data-tools
=
"['bold','italic','underline','strikethrough']"
>
4.
</
div
>
1.
<
input
type
=
"hidden"
name
=
"WebDescription"
data-bind
=
"value: WebDescription"
/>
Thanks,
Matt