Author Topic

Lo' F.

Monday 30 May 2011 7:21:12 am

Comment68335

Hi! Sorry André, I let this topic behind some other jobs and only today I had the chance to go back to it.

Thank you, as always, for your precious hint.

- created an override for the edit view of ezstring.tpl datatype inside my extension

- then declaired the onkeyup event for the attribute_edit_gui this way

{default attribute_base='ContentObjectAttribute'
         ...
        onkeyup=false()}
<input ... {if $onkeyup} onkeyup="{$onkeyup}"{/if} />
{/default}

- and recalled the event within the attribute call

{attribute_edit_gui attribute=$attribute onkeyup="this.value=this.value.toUpperCase()"}

loredanaebook.it