This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

embed custom javascript


  1. wallahed
    Member

    is there any documentation on this new v4.2 feature?

    Posted 9 years ago #
  2. yuniar

    Simply go to your form properties tab, enable the "Load Custom Javascript File" option and then paste the URL of your custom javascript there.


    MachForm Founder

    Posted 9 years ago #
  3. vdo-ph
    Member

    Hello,

    Would it possible to extend the system ability to load multiple custom javascript files using this method, perhaps by separating by commas?

    This way, we could have several "canned" extensions, and load only those needed by enabling "Load Custom Javascript File", and submitting a comma separated list like "/extjs/file1.js, /extjs/file2.js" would produce 2 lines like the following:

    <script type="text/javascript" src="/extjs/file1.js"></script>
    <script type="text/javascript" src="/extjs/file2.js"></script>

    This would be helpful for us to deliver "customizations" to one or more forms, with the specific functionality constrained in single files, rather than having to make 1 "custom" js file for each form that has 2 or more "functions".

    Thanks,

    Glenn @ VDO

    Posted 9 years ago #

RSS feed for this topic

Reply