OpenWGA 7.6 - WebTML reference

WebTML tags » input

<tml:input cleariferror ="fieldname1,fieldname2,...">

Purpose:

Specifies names of other TML form fields which should be truncated when the validation of the current field fails.

Value(s):

Comma separated list of field names.

Examples:

<tml:form id="setpassword">
    Password: <tml:input type="hashedpassword" name="pwd1"/><br/>
    Reenter password: <tml:input type="hashedpassword" name="pwd2"
                       validation="tmlform.enteredValue('pwd1') == $E_VALUE"
                       cleariferror="pwd1,pwd2"
                       message="The entered passwords did not match!"/><br/>   
    <tml:button clickaction="storePassword">Store</tml:button>
</tml:form>