Skip to main content
6 events
when toggle format what by license comment
Dec 5, 2014 at 15:30 vote accept Andrew Currie
Dec 5, 2014 at 15:37
Nov 26, 2014 at 8:52 comment added foamcow If you DO want to use it in the Controlpanel then put the accessory in your system/third_party directory and edit it directly to use your fields. That should be all that is needed (ensure you have jQuery for the CP installed too)
Nov 26, 2014 at 8:51 comment added foamcow I think I misunderstood. The accessory works in the control panel. If you want to do this on a regular template then it's a case of adding some Javascript to the template. You can use the javascript that's in the accessory.
Nov 25, 2014 at 16:19 comment added Andrew Currie Thank you foamcow for the answer and example accessory! I have it installed now but still unable to get it working. I don't need this to work on other sites and yes I know the field names. Field_id_688 is arrival time field_id_689 is departure time and field_id_690 is where I want the total hours entered. I suppose I need some code to trigger the accessory in my form template, right? Do you have any tips on how I would go about that? Thanks!
Nov 14, 2014 at 12:14 history edited foamcow CC BY-SA 3.0
Added a download to custom accessory
Nov 14, 2014 at 11:05 history answered foamcow CC BY-SA 3.0