I have this input
line in XSLT:
<input type="text" id="CSEMissingInput" class="CSEMissingInput"
onblur="SetSeriesAnswer(this)" placeholder="[[MManswerInputPlaceholder]]"
**maxlength= "SCHEME/FIELD[@id='charactersLimitation']"**>
</input>`
When I put a number in the maxlength
it works just fine, but when try to obtain that number programmatically, it doesn't work. How can I fix this?
Use an Attribute Value Template ,
maxlength= "{SCHEME/FIELD[@id='charactersLimitation']}"
in order for the attribute value string to be interpreted as an XPath.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.