Share » Forums » Developer » Adding javascript onchange to...

Adding javascript onchange to attribute_edit_gui

Adding javascript onchange to attribute_edit_gui

Monday 11 May 2009 12:26:40 pm - 2 replies

Author Message

André R.

Monday 11 May 2009 12:31:34 pm

Override the template used by attribute_[edit|view]_gui (enable DebugOutput and ShowTemplates in site.ini to get the clues you need.) and make your custom template look for custom attribute_onchange variable if you need to define this in edit template.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Kedar Deshpande

Monday 11 May 2009 12:40:04 pm

Thanks for the tip. I thought there might be a way to pass the needed fields into the existing operator, but making my own with the required values sounds good as well.

Thanks

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu