Auto update categories in simple modules
Hello,
I am using simple modules method for products in my websites. The products are related to categories and subcategories. How do i make it so that in the module, edit page( i.e when we click the edit button inside the listing, in admin side ), when i select category, the subcategory list gets autoupdated to list of subcategories inside that particular category only.
hope you understood it.
Thank you
Kapil
Comments
http://www.getfuelcms.com/forums/discussion/comment/2138/#Comment_2138
http://www.getfuelcms.com/forums/discussion/comment/3117/#Comment_3117
You can add a javascript file to your simple module by using the "js" parameter in your module config.
Lastly, the 1.0 beta branch we are currently working on has additional support for using Javascript to make it easier in your form fields. There is a section in the 1.0 user guide called Javascript which explains it a little better:
https://github.com/daylightstudio/FUEL-CMS/tree/1.0
https://github.com/daylightstudio/FUEL-CMS-User-Guide-Module