Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Using Javascript in a CMS system using Twig language

Javascript CMS Element Twig CraftCMS

3:46 pm on May 15, 2018 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 8, 2004
posts: 60
votes: 0

The organization I'm with has opted for a website design incorporating the 'CraftCMS' (content management system) in a PHP environment, using Twig templating language.
The 'editors' in the website can log in to the Admin control panel and edit various web pages. Additionally, they can add elements, such as forms.
There are certain functionalities which are not possible from the control panel, such as the following:
I am needing to customize a form to have a button which will allow the user to dynamically add a second drop down box. As the forms are typically created by the control panel, I am uncertain as to how to achieve this.
Does anyone have any ideas about how this might be done?

Thanks for your help in this.