How can I configure below "Form builder js" in Magento 2.3.0 custom extension?


I want to use this js in my custom Extension's form in the admin side.


Please try following way to add JS in admin:

Create file app/code/Vendor/Module/view/adminhtml/layout/adminhtml_system_config_edit.xml or add following code for JS in your custom module's admin layout XML

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        <link src="Vendor_ModuleName::js/formbuilder.js"/>

You can put your formbuilder.js in following path.


Please check and let me know if any issue.

| improve this answer | |
  • 1
    Thanks for your answer but what if I want to add in form rather than the system config ? – Sanjay Gohil Feb 11 '19 at 5:29
  • yes you can add this code in your form's layout.xml file – Aasim Goriya Feb 11 '19 at 5:30
  • please share me your form's layout file so I will guide you how to add. – Aasim Goriya Feb 11 '19 at 5:30
  • 1
    I want the same form as you can see in this screenshot :screencast.com/t/881sEzsmT – Sanjay Gohil Feb 11 '19 at 5:44
  • 1
    Yes, and I have added js and CSS in form layout file as you described. Plz help me I will accept your answer also upvote. – Sanjay Gohil Feb 11 '19 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.