Menu

readonly and bind with calculate attr

Help
2014-09-04
2014-09-05
  • Jarosław Kowalewski

    I have xf:input with calculate bind. Processor automatically set readonly attribute in such situation but field should be editable.

    E.g. emaile field with bind that automatically removes incorrect signs parallel with user typing.

    <xf:bind nodeset="/Document/DaneUczestnikaKonkursu/Email" calculate="translate(.,'ąćęłńóśźżĄĆĘŁŃÓŚŹŻ `=~!#$%^&amp;*()+[]\{}|;:",/&lt;&gt;?«','acelnoszzACELNOSZZ')"/>

    <xf:input ref="/Document/DaneUczestnikaKonkursu/Email" incremental="true" class="prefix_2 grid_24 suffix_2 ">
    <xf:label ref="instance('labels')/labels/label_6"/>
    </xf:input>

     
  • Jarosław Kowalewski

    In attachment patch for this bug.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.