Ok i tried to do this but i think I'm misunderstanding where to put the event in this line
PHP Code:
<input type="text" name="{{sugarvar key='name'}}" class={{if empty($displayParams.class) }}"sqsEnabled"{{else}} "{{$displayParams.class}}" {{/if}} tabindex="{{$tabindex}}" id="{{sugarvar key='name'}}" size="{{$displayParams.size}}" value="{{sugarvar key='value'}}" title='{{$vardef.help}}' autocomplete="off" {{$displayParams.readOnly}} {{$displayParams.field}}>
where would i put the on change function
*edit*
i add this to the above after looking through other fields
PHP Code:
{{if isset($displayParams.javascript)}}{{$displayParams.javascript}}{{/if}}
Bookmarks